[−][src]Struct sixtyfps_compilerlib::parser::SyntaxNodeWithSourceFile
Fields
node: SyntaxNode
source_file: Option<SourceFile>
Implementations
impl SyntaxNodeWithSourceFile
[src]
pub fn child_node(&self, kind: SyntaxKind) -> Option<SyntaxNodeWithSourceFile>
[src]
pub fn child_token(&self, kind: SyntaxKind) -> Option<SyntaxTokenWithSourceFile>
[src]
pub fn child_text(&self, kind: SyntaxKind) -> Option<String>
[src]
pub fn kind(&self) -> SyntaxKind
[src]
pub fn children(&self) -> impl Iterator<Item = SyntaxNodeWithSourceFile>
[src]
pub fn children_with_tokens(
&self
) -> impl Iterator<Item = NodeOrTokenWithSourceFile>
[src]
&self
) -> impl Iterator<Item = NodeOrTokenWithSourceFile>
pub fn text(&self) -> SyntaxText
[src]
Trait Implementations
impl Clone for SyntaxNodeWithSourceFile
[src]
fn clone(&self) -> SyntaxNodeWithSourceFile
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SyntaxNodeWithSourceFile
[src]
impl From<Array> for SyntaxNodeWithSourceFile
[src]
fn from(original: Array) -> SyntaxNodeWithSourceFile
[src]
impl From<ArrayType> for SyntaxNodeWithSourceFile
[src]
fn from(original: ArrayType) -> SyntaxNodeWithSourceFile
[src]
impl From<BangExpression> for SyntaxNodeWithSourceFile
[src]
fn from(original: BangExpression) -> SyntaxNodeWithSourceFile
[src]
impl From<BinaryExpression> for SyntaxNodeWithSourceFile
[src]
fn from(original: BinaryExpression) -> SyntaxNodeWithSourceFile
[src]
impl From<Binding> for SyntaxNodeWithSourceFile
[src]
fn from(original: Binding) -> SyntaxNodeWithSourceFile
[src]
impl From<BindingExpression> for SyntaxNodeWithSourceFile
[src]
fn from(original: BindingExpression) -> SyntaxNodeWithSourceFile
[src]
impl From<ChildrenPlaceholder> for SyntaxNodeWithSourceFile
[src]
fn from(original: ChildrenPlaceholder) -> SyntaxNodeWithSourceFile
[src]
impl From<CodeBlock> for SyntaxNodeWithSourceFile
[src]
fn from(original: CodeBlock) -> SyntaxNodeWithSourceFile
[src]
impl From<Component> for SyntaxNodeWithSourceFile
[src]
fn from(original: Component) -> SyntaxNodeWithSourceFile
[src]
impl From<ConditionalElement> for SyntaxNodeWithSourceFile
[src]
fn from(original: ConditionalElement) -> SyntaxNodeWithSourceFile
[src]
impl From<ConditionalExpression> for SyntaxNodeWithSourceFile
[src]
fn from(original: ConditionalExpression) -> SyntaxNodeWithSourceFile
[src]
impl From<DeclaredIdentifier> for SyntaxNodeWithSourceFile
[src]
fn from(original: DeclaredIdentifier) -> SyntaxNodeWithSourceFile
[src]
impl From<Document> for SyntaxNodeWithSourceFile
[src]
fn from(original: Document) -> SyntaxNodeWithSourceFile
[src]
impl From<Element> for SyntaxNodeWithSourceFile
[src]
fn from(original: Element) -> SyntaxNodeWithSourceFile
[src]
impl From<ExportIdentifier> for SyntaxNodeWithSourceFile
[src]
fn from(original: ExportIdentifier) -> SyntaxNodeWithSourceFile
[src]
impl From<ExportName> for SyntaxNodeWithSourceFile
[src]
fn from(original: ExportName) -> SyntaxNodeWithSourceFile
[src]
impl From<ExportSpecifier> for SyntaxNodeWithSourceFile
[src]
fn from(original: ExportSpecifier) -> SyntaxNodeWithSourceFile
[src]
impl From<ExportsList> for SyntaxNodeWithSourceFile
[src]
fn from(original: ExportsList) -> SyntaxNodeWithSourceFile
[src]
impl From<Expression> for SyntaxNodeWithSourceFile
[src]
fn from(original: Expression) -> SyntaxNodeWithSourceFile
[src]
impl From<ExternalName> for SyntaxNodeWithSourceFile
[src]
fn from(original: ExternalName) -> SyntaxNodeWithSourceFile
[src]
impl From<FunctionCallExpression> for SyntaxNodeWithSourceFile
[src]
fn from(original: FunctionCallExpression) -> SyntaxNodeWithSourceFile
[src]
impl From<ImportIdentifier> for SyntaxNodeWithSourceFile
[src]
fn from(original: ImportIdentifier) -> SyntaxNodeWithSourceFile
[src]
impl From<ImportIdentifierList> for SyntaxNodeWithSourceFile
[src]
fn from(original: ImportIdentifierList) -> SyntaxNodeWithSourceFile
[src]
impl From<ImportSpecifier> for SyntaxNodeWithSourceFile
[src]
fn from(original: ImportSpecifier) -> SyntaxNodeWithSourceFile
[src]
impl From<InternalName> for SyntaxNodeWithSourceFile
[src]
fn from(original: InternalName) -> SyntaxNodeWithSourceFile
[src]
impl From<ObjectLiteral> for SyntaxNodeWithSourceFile
[src]
fn from(original: ObjectLiteral) -> SyntaxNodeWithSourceFile
[src]
impl From<ObjectMember> for SyntaxNodeWithSourceFile
[src]
fn from(original: ObjectMember) -> SyntaxNodeWithSourceFile
[src]
impl From<ObjectType> for SyntaxNodeWithSourceFile
[src]
fn from(original: ObjectType) -> SyntaxNodeWithSourceFile
[src]
impl From<ObjectTypeMember> for SyntaxNodeWithSourceFile
[src]
fn from(original: ObjectTypeMember) -> SyntaxNodeWithSourceFile
[src]
impl From<PropertyAnimation> for SyntaxNodeWithSourceFile
[src]
fn from(original: PropertyAnimation) -> SyntaxNodeWithSourceFile
[src]
impl From<PropertyDeclaration> for SyntaxNodeWithSourceFile
[src]
fn from(original: PropertyDeclaration) -> SyntaxNodeWithSourceFile
[src]
impl From<QualifiedName> for SyntaxNodeWithSourceFile
[src]
fn from(original: QualifiedName) -> SyntaxNodeWithSourceFile
[src]
impl From<RepeatedElement> for SyntaxNodeWithSourceFile
[src]
fn from(original: RepeatedElement) -> SyntaxNodeWithSourceFile
[src]
impl From<RepeatedIndex> for SyntaxNodeWithSourceFile
[src]
fn from(original: RepeatedIndex) -> SyntaxNodeWithSourceFile
[src]
impl From<SelfAssignment> for SyntaxNodeWithSourceFile
[src]
fn from(original: SelfAssignment) -> SyntaxNodeWithSourceFile
[src]
impl From<SignalConnection> for SyntaxNodeWithSourceFile
[src]
fn from(original: SignalConnection) -> SyntaxNodeWithSourceFile
[src]
impl From<SignalDeclaration> for SyntaxNodeWithSourceFile
[src]
fn from(original: SignalDeclaration) -> SyntaxNodeWithSourceFile
[src]
impl From<State> for SyntaxNodeWithSourceFile
[src]
fn from(original: State) -> SyntaxNodeWithSourceFile
[src]
impl From<StatePropertyChange> for SyntaxNodeWithSourceFile
[src]
fn from(original: StatePropertyChange) -> SyntaxNodeWithSourceFile
[src]
impl From<States> for SyntaxNodeWithSourceFile
[src]
fn from(original: States) -> SyntaxNodeWithSourceFile
[src]
impl From<SubElement> for SyntaxNodeWithSourceFile
[src]
fn from(original: SubElement) -> SyntaxNodeWithSourceFile
[src]
impl From<SyntaxNodeWithSourceFile> for Document
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Document
[src]
impl From<SyntaxNodeWithSourceFile> for Component
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Component
[src]
impl From<SyntaxNodeWithSourceFile> for PropertyAnimation
[src]
fn from(original: SyntaxNodeWithSourceFile) -> PropertyAnimation
[src]
impl From<SyntaxNodeWithSourceFile> for QualifiedName
[src]
fn from(original: SyntaxNodeWithSourceFile) -> QualifiedName
[src]
impl From<SyntaxNodeWithSourceFile> for DeclaredIdentifier
[src]
fn from(original: SyntaxNodeWithSourceFile) -> DeclaredIdentifier
[src]
impl From<SyntaxNodeWithSourceFile> for ChildrenPlaceholder
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ChildrenPlaceholder
[src]
impl From<SyntaxNodeWithSourceFile> for Binding
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Binding
[src]
impl From<SyntaxNodeWithSourceFile> for TwoWayBinding
[src]
fn from(original: SyntaxNodeWithSourceFile) -> TwoWayBinding
[src]
impl From<SyntaxNodeWithSourceFile> for BindingExpression
[src]
fn from(original: SyntaxNodeWithSourceFile) -> BindingExpression
[src]
impl From<SyntaxNodeWithSourceFile> for CodeBlock
[src]
fn from(original: SyntaxNodeWithSourceFile) -> CodeBlock
[src]
impl From<SyntaxNodeWithSourceFile> for Expression
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Expression
[src]
impl From<SyntaxNodeWithSourceFile> for BangExpression
[src]
fn from(original: SyntaxNodeWithSourceFile) -> BangExpression
[src]
impl From<SyntaxNodeWithSourceFile> for SubElement
[src]
fn from(original: SyntaxNodeWithSourceFile) -> SubElement
[src]
impl From<SyntaxNodeWithSourceFile> for FunctionCallExpression
[src]
fn from(original: SyntaxNodeWithSourceFile) -> FunctionCallExpression
[src]
impl From<SyntaxNodeWithSourceFile> for SelfAssignment
[src]
fn from(original: SyntaxNodeWithSourceFile) -> SelfAssignment
[src]
impl From<SyntaxNodeWithSourceFile> for ConditionalExpression
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ConditionalExpression
[src]
impl From<SyntaxNodeWithSourceFile> for BinaryExpression
[src]
fn from(original: SyntaxNodeWithSourceFile) -> BinaryExpression
[src]
impl From<SyntaxNodeWithSourceFile> for UnaryOpExpression
[src]
fn from(original: SyntaxNodeWithSourceFile) -> UnaryOpExpression
[src]
impl From<SyntaxNodeWithSourceFile> for Array
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Array
[src]
impl From<SyntaxNodeWithSourceFile> for ObjectLiteral
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ObjectLiteral
[src]
impl From<SyntaxNodeWithSourceFile> for ObjectMember
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ObjectMember
[src]
impl From<SyntaxNodeWithSourceFile> for States
[src]
fn from(original: SyntaxNodeWithSourceFile) -> States
[src]
impl From<SyntaxNodeWithSourceFile> for State
[src]
fn from(original: SyntaxNodeWithSourceFile) -> State
[src]
impl From<SyntaxNodeWithSourceFile> for Element
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Element
[src]
impl From<SyntaxNodeWithSourceFile> for StatePropertyChange
[src]
fn from(original: SyntaxNodeWithSourceFile) -> StatePropertyChange
[src]
impl From<SyntaxNodeWithSourceFile> for Transitions
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Transitions
[src]
impl From<SyntaxNodeWithSourceFile> for Transition
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Transition
[src]
impl From<SyntaxNodeWithSourceFile> for ExportsList
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ExportsList
[src]
impl From<SyntaxNodeWithSourceFile> for ExportSpecifier
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ExportSpecifier
[src]
impl From<SyntaxNodeWithSourceFile> for ExportIdentifier
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ExportIdentifier
[src]
impl From<SyntaxNodeWithSourceFile> for ExportName
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ExportName
[src]
impl From<SyntaxNodeWithSourceFile> for ImportSpecifier
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ImportSpecifier
[src]
impl From<SyntaxNodeWithSourceFile> for ImportIdentifierList
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ImportIdentifierList
[src]
impl From<SyntaxNodeWithSourceFile> for ImportIdentifier
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ImportIdentifier
[src]
impl From<SyntaxNodeWithSourceFile> for RepeatedElement
[src]
fn from(original: SyntaxNodeWithSourceFile) -> RepeatedElement
[src]
impl From<SyntaxNodeWithSourceFile> for ExternalName
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ExternalName
[src]
impl From<SyntaxNodeWithSourceFile> for InternalName
[src]
fn from(original: SyntaxNodeWithSourceFile) -> InternalName
[src]
impl From<SyntaxNodeWithSourceFile> for Type
[src]
fn from(original: SyntaxNodeWithSourceFile) -> Type
[src]
impl From<SyntaxNodeWithSourceFile> for ObjectType
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ObjectType
[src]
impl From<SyntaxNodeWithSourceFile> for ObjectTypeMember
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ObjectTypeMember
[src]
impl From<SyntaxNodeWithSourceFile> for ArrayType
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ArrayType
[src]
impl From<SyntaxNodeWithSourceFile> for RepeatedIndex
[src]
fn from(original: SyntaxNodeWithSourceFile) -> RepeatedIndex
[src]
impl From<SyntaxNodeWithSourceFile> for ConditionalElement
[src]
fn from(original: SyntaxNodeWithSourceFile) -> ConditionalElement
[src]
impl From<SyntaxNodeWithSourceFile> for SignalDeclaration
[src]
fn from(original: SyntaxNodeWithSourceFile) -> SignalDeclaration
[src]
impl From<SyntaxNodeWithSourceFile> for SignalConnection
[src]
fn from(original: SyntaxNodeWithSourceFile) -> SignalConnection
[src]
impl From<SyntaxNodeWithSourceFile> for PropertyDeclaration
[src]
fn from(original: SyntaxNodeWithSourceFile) -> PropertyDeclaration
[src]
impl From<Transition> for SyntaxNodeWithSourceFile
[src]
fn from(original: Transition) -> SyntaxNodeWithSourceFile
[src]
impl From<Transitions> for SyntaxNodeWithSourceFile
[src]
fn from(original: Transitions) -> SyntaxNodeWithSourceFile
[src]
impl From<TwoWayBinding> for SyntaxNodeWithSourceFile
[src]
fn from(original: TwoWayBinding) -> SyntaxNodeWithSourceFile
[src]
impl From<Type> for SyntaxNodeWithSourceFile
[src]
fn from(original: Type) -> SyntaxNodeWithSourceFile
[src]
impl From<UnaryOpExpression> for SyntaxNodeWithSourceFile
[src]
fn from(original: UnaryOpExpression) -> SyntaxNodeWithSourceFile
[src]
impl Spanned for SyntaxNodeWithSourceFile
[src]
impl SpannedWithSourceFile for SyntaxNodeWithSourceFile
[src]
fn source_file(&self) -> Option<&SourceFile>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SyntaxNodeWithSourceFile
impl !Send for SyntaxNodeWithSourceFile
impl !Sync for SyntaxNodeWithSourceFile
impl Unpin for SyntaxNodeWithSourceFile
impl !UnwindSafe for SyntaxNodeWithSourceFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,