Class MemberAccessExpressionSyntax
Inheritance
System.Object
MemberAccessExpressionSyntax
Implements
IFormattable
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)
Namespace: Loretta.CodeAnalysis.Lua.Syntax
Assembly: Loretta.CodeAnalysis.Lua.dll
Syntax
public sealed class MemberAccessExpressionSyntax : VariableExpressionSyntax
Remarks
This node is associated with the following syntax kinds:
Properties
| Improve this Doc View SourceDotSeparator
The dot separating the expression and the identifier.
Declaration
public SyntaxToken DotSeparator { get; }
Property Value
Type | Description |
---|---|
SyntaxToken |
Expression
The expression that contains the member being accessed.
Declaration
public PrefixExpressionSyntax Expression { get; }
Property Value
Type | Description |
---|---|
PrefixExpressionSyntax |
MemberName
The identifier representing the member name.
Declaration
public SyntaxToken MemberName { get; }
Property Value
Type | Description |
---|---|
SyntaxToken |
Methods
| Improve this Doc View SourceAccept(LuaSyntaxVisitor)
Declaration
public override void Accept(LuaSyntaxVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
LuaSyntaxVisitor | visitor |
Overrides
| Improve this Doc View SourceAccept<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
Update(PrefixExpressionSyntax, SyntaxToken, SyntaxToken)
Declaration
public MemberAccessExpressionSyntax Update(PrefixExpressionSyntax expression, SyntaxToken dotSeparator, SyntaxToken memberName)
Parameters
Type | Name | Description |
---|---|---|
PrefixExpressionSyntax | expression | |
SyntaxToken | dotSeparator | |
SyntaxToken | memberName |
Returns
Type | Description |
---|---|
MemberAccessExpressionSyntax |
WithDotSeparator(SyntaxToken)
Declaration
public MemberAccessExpressionSyntax WithDotSeparator(SyntaxToken dotSeparator)
Parameters
Type | Name | Description |
---|---|---|
SyntaxToken | dotSeparator |
Returns
Type | Description |
---|---|
MemberAccessExpressionSyntax |
WithExpression(PrefixExpressionSyntax)
Declaration
public MemberAccessExpressionSyntax WithExpression(PrefixExpressionSyntax expression)
Parameters
Type | Name | Description |
---|---|---|
PrefixExpressionSyntax | expression |
Returns
Type | Description |
---|---|
MemberAccessExpressionSyntax |
WithMemberName(SyntaxToken)
Declaration
public MemberAccessExpressionSyntax WithMemberName(SyntaxToken memberName)
Parameters
Type | Name | Description |
---|---|---|
SyntaxToken | memberName |
Returns
Type | Description |
---|---|
MemberAccessExpressionSyntax |
Implements
IFormattable