API Browser

Class

MacroTokenStream

class MacroTokenStream

Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: MacroTokenStream.cs

Inheritance: Object → MacroTokenStream
Implements: IMacroTokenStream

Provides a cursor over a macro body together with Raven fragment parsers that consume from the cursor's current position.

Properties

1 item
IsEndOfFile: bool No summary available. Implements IMacroTokenStream.IsEndOfFile

Methods

11 items
Equals(obj: object?) -> bool Determines whether the specified object is equal to the current object. Inherited from Object.Equals
GetHashCode() -> int Serves as the default hash function. Inherited from Object.GetHashCode
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
ParseExpression() -> MacroSyntaxParseResult<ExpressionSyntax> Parses one Raven expression at the current position and advances past it.
ParseMemberDeclaration() -> MacroSyntaxParseResult<MemberDeclarationSyntax> Parses one Raven member declaration at the current position and advances past it.
ParsePattern() -> MacroSyntaxParseResult<PatternSyntax> Parses one Raven pattern at the current position and advances past it.
ParseStatement() -> MacroSyntaxParseResult<StatementSyntax> Parses one Raven statement at the current position and advances past it.
ParseType() -> MacroSyntaxParseResult<TypeSyntax> Parses one Raven type at the current position and advances past it.
ReadToken() -> SyntaxToken No summary available. Implements IMacroTokenStream.ReadToken
ToString() -> string? Returns a string that represents the current object. Inherited from Object.ToString