Class IntersectionTypeSyntax
This node represents an intersection type.
Inheritance
System.Object
IntersectionTypeSyntax
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public sealed class IntersectionTypeSyntax : TypeSyntax
Properties
AmpersandToken
Gets the &
operator token.
Declaration
public SyntaxToken AmpersandToken { get; }
Property Value
Left
Gets the type on the left side of the operator.
Declaration
public TypeSyntax Left { get; }
Property Value
Right
Gets the type on the right side of the operator.
Declaration
public TypeSyntax Right { get; }
Property Value
Methods
Accept(LuaSyntaxVisitor)
Declaration
public override void Accept(LuaSyntaxVisitor visitor)
Parameters
Overrides
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>)
Update(TypeSyntax, SyntaxToken, TypeSyntax)
Declaration
public IntersectionTypeSyntax Update(TypeSyntax left, SyntaxToken ampersandToken, TypeSyntax right)
Parameters
Returns
WithAmpersandToken(SyntaxToken)
Declaration
public IntersectionTypeSyntax WithAmpersandToken(SyntaxToken ampersandToken)
Parameters
Returns
WithLeft(TypeSyntax)
Declaration
public IntersectionTypeSyntax WithLeft(TypeSyntax left)
Parameters
Returns
WithRight(TypeSyntax)
Declaration
public IntersectionTypeSyntax WithRight(TypeSyntax right)
Parameters
Returns
Implements
IFormattable