API Browser

Struct

SyntaxNodeOrToken

struct SyntaxNodeOrToken

Namespace: Raven.CodeAnalysis.Syntax
Assembly: Raven.CodeAnalysis.dll
Source file: SyntaxNodeOrToken.cs

Inheritance: Object → ValueType → SyntaxNodeOrToken

Constructors

2 items
SyntaxNodeOrToken(node: SyntaxNode) No summary available.
SyntaxNodeOrToken(token: SyntaxToken) No summary available.

Properties

3 items
IsNode: bool No summary available.
IsToken: bool No summary available.
Parent: SyntaxNode? No summary available.

Methods

8 items
AsNode() -> SyntaxNode? No summary available.
AsToken() -> SyntaxToken No summary available.
Equals(obj: object?) -> bool Indicates whether this instance and a specified object are equal. Inherited from ValueType.Equals
GetHashCode() -> int Returns the hash code for this instance. Inherited from ValueType.GetHashCode
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
ToString() -> string No summary available. Overrides ValueType.ToString
TryGetNode(node: out SyntaxNode?) -> bool No summary available.

Operators

2 items
Static member: implicit conversion(node: SyntaxNode) -> SyntaxNodeOrToken No summary available.
Static member: implicit conversion(token: SyntaxToken) -> SyntaxNodeOrToken No summary available.