Class UnionTypeSyntax
This node represents a union type.
Inheritance
System.Object
UnionTypeSyntax
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 UnionTypeSyntax : TypeSyntax
Properties
|
Improve this Doc
View Source
Left
Gets the type on the left side of the operator.
Declaration
public TypeSyntax Left { get; }
Property Value
|
Improve this Doc
View Source
PipeToken
Gets the |
operator token.
Declaration
public SyntaxToken PipeToken { get; }
Property Value
|
Improve this Doc
View Source
Right
Gets the type on the right side of the operator.
Declaration
public TypeSyntax Right { 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
Update(TypeSyntax, SyntaxToken, TypeSyntax)
Declaration
public UnionTypeSyntax Update(TypeSyntax left, SyntaxToken pipeToken, TypeSyntax right)
Parameters
Returns
|
Improve this Doc
View Source
WithLeft(TypeSyntax)
Declaration
public UnionTypeSyntax WithLeft(TypeSyntax left)
Parameters
Returns
|
Improve this Doc
View Source
WithPipeToken(SyntaxToken)
Declaration
public UnionTypeSyntax WithPipeToken(SyntaxToken pipeToken)
Parameters
Returns
|
Improve this Doc
View Source
WithRight(TypeSyntax)
Declaration
public UnionTypeSyntax WithRight(TypeSyntax right)
Parameters
Returns
Implements
IFormattable
Extension Methods