Search Results for

    Show / Hide Table of Contents

    Class TypeDeclarationStatementSyntax

    Represents a type declaration statement.

    Inheritance
    System.Object
    SyntaxNode
    LuaSyntaxNode
    StatementSyntax
    TypeDeclarationStatementSyntax
    Implements
    IFormattable
    Inherited Members
    LuaSyntaxNode.Kind()
    LuaSyntaxNode.Language
    LuaSyntaxNode.GetLeadingTrivia()
    LuaSyntaxNode.GetTrailingTrivia()
    LuaSyntaxNode.DeserializeFrom(Stream, CancellationToken)
    LuaSyntaxNode.GetLocation()
    LuaSyntaxNode.GetDiagnostics()
    LuaSyntaxNode.GetFirstToken(Boolean, Boolean, Boolean, Boolean)
    LuaSyntaxNode.GetLastToken(Boolean, Boolean, Boolean, Boolean)
    LuaSyntaxNode.FindToken(Int32, Boolean)
    LuaSyntaxNode.FindTrivia(Int32, Func<SyntaxTrivia, Boolean>)
    LuaSyntaxNode.FindTrivia(Int32, Boolean)
    SyntaxNode.RawKind
    SyntaxNode.SyntaxTree
    SyntaxNode.FullSpan
    SyntaxNode.Span
    SyntaxNode.SpanStart
    SyntaxNode.ToString()
    SyntaxNode.ToFullString()
    SyntaxNode.WriteTo(TextWriter)
    SyntaxNode.GetText(Encoding, SourceHashAlgorithm)
    SyntaxNode.IsEquivalentTo(SyntaxNode)
    SyntaxNode.IsIncrementallyIdenticalTo(SyntaxNode)
    SyntaxNode.IsMissing
    SyntaxNode.IsPartOfStructuredTrivia()
    SyntaxNode.IsStructuredTrivia
    SyntaxNode.HasStructuredTrivia
    SyntaxNode.ContainsSkippedText
    SyntaxNode.ContainsDirectives
    SyntaxNode.ContainsDiagnostics
    SyntaxNode.Contains(SyntaxNode)
    SyntaxNode.HasLeadingTrivia
    SyntaxNode.HasTrailingTrivia
    SyntaxNode.GetReference()
    SyntaxNode.Parent
    SyntaxNode.ParentTrivia
    SyntaxNode.ChildNodesAndTokens()
    SyntaxNode.ChildThatContainsPosition(Int32)
    SyntaxNode.ChildNodes()
    SyntaxNode.Ancestors(Boolean)
    SyntaxNode.AncestorsAndSelf(Boolean)
    SyntaxNode.FirstAncestorOrSelf<TNode>(Nullable<Func<TNode, Boolean>>, Boolean)
    SyntaxNode.FirstAncestorOrSelf<TNode, TArg>(Func<TNode, TArg, Boolean>, TArg, Boolean)
    SyntaxNode.DescendantNodes(Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantNodes(TextSpan, Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantNodesAndSelf(Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantNodesAndSelf(TextSpan, Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantNodesAndTokens(Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantNodesAndTokens(TextSpan, Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantNodesAndTokensAndSelf(Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantNodesAndTokensAndSelf(TextSpan, Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.FindNode(TextSpan, Boolean, Boolean)
    SyntaxNode.ChildTokens()
    SyntaxNode.DescendantTokens(Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantTokens(TextSpan, Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.FindTrivia(Int32, Nullable<Func<SyntaxTrivia, Boolean>>)
    SyntaxNode.DescendantTrivia(Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.DescendantTrivia(TextSpan, Nullable<Func<SyntaxNode, Boolean>>, Boolean)
    SyntaxNode.ContainsAnnotations
    SyntaxNode.HasAnnotations(String)
    SyntaxNode.HasAnnotations(IEnumerable<String>)
    SyntaxNode.HasAnnotation(SyntaxAnnotation)
    SyntaxNode.GetAnnotations(String)
    SyntaxNode.GetAnnotations(IEnumerable<String>)
    SyntaxNode.GetAnnotatedNodesAndTokens(String)
    SyntaxNode.GetAnnotatedNodesAndTokens(String[])
    SyntaxNode.GetAnnotatedNodesAndTokens(SyntaxAnnotation)
    SyntaxNode.GetAnnotatedNodes(SyntaxAnnotation)
    SyntaxNode.GetAnnotatedNodes(String)
    SyntaxNode.GetAnnotatedTokens(SyntaxAnnotation)
    SyntaxNode.GetAnnotatedTokens(String)
    SyntaxNode.GetAnnotatedTrivia(String)
    SyntaxNode.GetAnnotatedTrivia(String[])
    SyntaxNode.GetAnnotatedTrivia(SyntaxAnnotation)
    SyntaxNode.CopyAnnotationsTo<T>(T)
    SyntaxNode.IsEquivalentTo(SyntaxNode, Boolean)
    SyntaxNode.SerializeTo(Stream, CancellationToken)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Loretta.CodeAnalysis.Lua.Syntax
    Assembly: Loretta.CodeAnalysis.Lua.dll
    Syntax
    public sealed class TypeDeclarationStatementSyntax : StatementSyntax
    Remarks

    This node is associated with the following syntax kinds:

    • TypeDeclarationStatement

    Properties

    | Improve this Doc View Source

    EqualsToken

    The equals token of the type.

    Declaration
    public SyntaxToken EqualsToken { get; }
    Property Value
    Type Description
    SyntaxToken
    | Improve this Doc View Source

    ExportKeyword

    The 'export' keyword.

    Declaration
    public SyntaxToken ExportKeyword { get; }
    Property Value
    Type Description
    SyntaxToken
    | Improve this Doc View Source

    Name

    Represents the type's name.

    Declaration
    public SyntaxToken Name { get; }
    Property Value
    Type Description
    SyntaxToken
    | Improve this Doc View Source

    SemicolonToken

    The semicolon at the end of the statement (if any).

    Declaration
    public override SyntaxToken SemicolonToken { get; }
    Property Value
    Type Description
    SyntaxToken
    Overrides
    StatementSyntax.SemicolonToken
    | Improve this Doc View Source

    Type

    Represents the declared type.

    Declaration
    public TypeSyntax Type { get; }
    Property Value
    Type Description
    TypeSyntax
    | Improve this Doc View Source

    TypeKeyword

    The 'type' keyword.

    Declaration
    public SyntaxToken TypeKeyword { get; }
    Property Value
    Type Description
    SyntaxToken
    | Improve this Doc View Source

    TypeParameterList

    The type parameter list for this generic type.

    Declaration
    public TypeParameterListSyntax TypeParameterList { get; }
    Property Value
    Type Description
    TypeParameterListSyntax

    Methods

    | Improve this Doc View Source

    Accept(LuaSyntaxVisitor)

    Declaration
    public override void Accept(LuaSyntaxVisitor visitor)
    Parameters
    Type Name Description
    LuaSyntaxVisitor visitor
    Overrides
    LuaSyntaxNode.Accept(LuaSyntaxVisitor)
    | Improve this Doc View Source

    Accept<TResult>(LuaSyntaxVisitor<TResult>)

    Declaration
    public override TResult Accept<TResult>(LuaSyntaxVisitor<TResult> visitor)
    Parameters
    Type Name Description
    LuaSyntaxVisitor<TResult> visitor
    Returns
    Type Description
    TResult
    Type Parameters
    Name Description
    TResult
    Overrides
    Loretta.CodeAnalysis.Lua.LuaSyntaxNode.Accept<TResult>(Loretta.CodeAnalysis.Lua.LuaSyntaxVisitor<TResult>)
    | Improve this Doc View Source

    AddTypeParameterListNames(TypeParameterSyntax[])

    Declaration
    public TypeDeclarationStatementSyntax AddTypeParameterListNames(params TypeParameterSyntax[] items)
    Parameters
    Type Name Description
    TypeParameterSyntax[] items
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    Update(SyntaxToken, SyntaxToken, SyntaxToken, TypeParameterListSyntax, SyntaxToken, TypeSyntax, SyntaxToken)

    Declaration
    public TypeDeclarationStatementSyntax Update(SyntaxToken exportKeyword, SyntaxToken typeKeyword, SyntaxToken name, TypeParameterListSyntax typeParameterList, SyntaxToken equalsToken, TypeSyntax type, SyntaxToken semicolonToken)
    Parameters
    Type Name Description
    SyntaxToken exportKeyword
    SyntaxToken typeKeyword
    SyntaxToken name
    TypeParameterListSyntax typeParameterList
    SyntaxToken equalsToken
    TypeSyntax type
    SyntaxToken semicolonToken
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    WithEqualsToken(SyntaxToken)

    Declaration
    public TypeDeclarationStatementSyntax WithEqualsToken(SyntaxToken equalsToken)
    Parameters
    Type Name Description
    SyntaxToken equalsToken
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    WithExportKeyword(SyntaxToken)

    Declaration
    public TypeDeclarationStatementSyntax WithExportKeyword(SyntaxToken exportKeyword)
    Parameters
    Type Name Description
    SyntaxToken exportKeyword
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    WithName(SyntaxToken)

    Declaration
    public TypeDeclarationStatementSyntax WithName(SyntaxToken name)
    Parameters
    Type Name Description
    SyntaxToken name
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    WithSemicolonToken(SyntaxToken)

    Declaration
    public TypeDeclarationStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
    Parameters
    Type Name Description
    SyntaxToken semicolonToken
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    WithType(TypeSyntax)

    Declaration
    public TypeDeclarationStatementSyntax WithType(TypeSyntax type)
    Parameters
    Type Name Description
    TypeSyntax type
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    WithTypeKeyword(SyntaxToken)

    Declaration
    public TypeDeclarationStatementSyntax WithTypeKeyword(SyntaxToken typeKeyword)
    Parameters
    Type Name Description
    SyntaxToken typeKeyword
    Returns
    Type Description
    TypeDeclarationStatementSyntax
    | Improve this Doc View Source

    WithTypeParameterList(TypeParameterListSyntax)

    Declaration
    public TypeDeclarationStatementSyntax WithTypeParameterList(TypeParameterListSyntax typeParameterList)
    Parameters
    Type Name Description
    TypeParameterListSyntax typeParameterList
    Returns
    Type Description
    TypeDeclarationStatementSyntax

    Implements

    IFormattable

    Extension Methods

    LuaExtensions.IsKind(SyntaxNode, SyntaxKind)
    LuaExtensions.Kind(SyntaxNode)
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾