Class CompilationUnitSyntax
The node containing all of the file's contents.
Inheritance
System.Object
CompilationUnitSyntax
Inherited Members
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)
Assembly: Loretta.CodeAnalysis.Lua.dll
Syntax
public sealed class CompilationUnitSyntax : LuaSyntaxNode
Properties
|
Improve this Doc
View Source
EndOfFileToken
Declaration
public SyntaxToken EndOfFileToken { get; }
Property Value
|
Improve this Doc
View Source
Statements
The statements in the compilation unit.
Declaration
public StatementListSyntax Statements { get; }
Property Value
Methods
|
Improve this Doc
View Source
Accept(LuaSyntaxVisitor)
Declaration
public override void Accept(LuaSyntaxVisitor visitor)
Parameters
Overrides
|
Improve this Doc
View Source
Accept<TResult>(LuaSyntaxVisitor<TResult>)
Declaration
public override TResult Accept<TResult>(LuaSyntaxVisitor<TResult> visitor)
Parameters
Returns
Type Parameters
Overrides
Loretta.CodeAnalysis.Lua.LuaSyntaxNode.Accept<TResult>(Loretta.CodeAnalysis.Lua.LuaSyntaxVisitor<TResult>)
|
Improve this Doc
View Source
AddStatementsStatements(StatementSyntax[])
Declaration
public CompilationUnitSyntax AddStatementsStatements(params StatementSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(StatementListSyntax, SyntaxToken)
Declaration
public CompilationUnitSyntax Update(StatementListSyntax statements, SyntaxToken endOfFileToken)
Parameters
Returns
|
Improve this Doc
View Source
WithEndOfFileToken(SyntaxToken)
Declaration
public CompilationUnitSyntax WithEndOfFileToken(SyntaxToken endOfFileToken)
Parameters
Returns
|
Improve this Doc
View Source
WithStatements(StatementListSyntax)
Declaration
public CompilationUnitSyntax WithStatements(StatementListSyntax statements)
Parameters
Returns
Implements
IFormattable
Extension Methods