Class ParenthesizedExpressionSyntax
Inheritance
System.Object
ParenthesizedExpressionSyntax
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 ParenthesizedExpressionSyntax : PrefixExpressionSyntax
Remarks
This node is associated with the following syntax kinds:
Properties
| Improve this Doc View SourceCloseParenthesisToken
The closing parenthesis token.
Declaration
public SyntaxToken CloseParenthesisToken { get; }
Property Value
Type | Description |
---|---|
SyntaxToken |
Expression
The inner expression.
Declaration
public ExpressionSyntax Expression { get; }
Property Value
Type | Description |
---|---|
ExpressionSyntax |
OpenParenthesisToken
The opening parenthesis token.
Declaration
public SyntaxToken OpenParenthesisToken { 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(SyntaxToken, ExpressionSyntax, SyntaxToken)
Declaration
public ParenthesizedExpressionSyntax Update(SyntaxToken openParenthesisToken, ExpressionSyntax expression, SyntaxToken closeParenthesisToken)
Parameters
Type | Name | Description |
---|---|---|
SyntaxToken | openParenthesisToken | |
ExpressionSyntax | expression | |
SyntaxToken | closeParenthesisToken |
Returns
Type | Description |
---|---|
ParenthesizedExpressionSyntax |
WithCloseParenthesisToken(SyntaxToken)
Declaration
public ParenthesizedExpressionSyntax WithCloseParenthesisToken(SyntaxToken closeParenthesisToken)
Parameters
Type | Name | Description |
---|---|---|
SyntaxToken | closeParenthesisToken |
Returns
Type | Description |
---|---|
ParenthesizedExpressionSyntax |
WithExpression(ExpressionSyntax)
Declaration
public ParenthesizedExpressionSyntax WithExpression(ExpressionSyntax expression)
Parameters
Type | Name | Description |
---|---|---|
ExpressionSyntax | expression |
Returns
Type | Description |
---|---|
ParenthesizedExpressionSyntax |
WithOpenParenthesisToken(SyntaxToken)
Declaration
public ParenthesizedExpressionSyntax WithOpenParenthesisToken(SyntaxToken openParenthesisToken)
Parameters
Type | Name | Description |
---|---|---|
SyntaxToken | openParenthesisToken |
Returns
Type | Description |
---|---|
ParenthesizedExpressionSyntax |
Implements
IFormattable