Share via


CSharpCodeParser Class

Definition

public ref class CSharpCodeParser : Microsoft::AspNetCore::Razor::Parser::TokenizerBackedParser<Microsoft::AspNetCore::Razor::Tokenizer::Internal::CSharpTokenizer ^, Microsoft::AspNetCore::Razor::Tokenizer::Symbols::CSharpSymbol ^, Microsoft::AspNetCore::Razor::Tokenizer::Symbols::CSharpSymbolType>
public class CSharpCodeParser : Microsoft.AspNetCore.Razor.Parser.TokenizerBackedParser<Microsoft.AspNetCore.Razor.Tokenizer.Internal.CSharpTokenizer,Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol,Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType>
type CSharpCodeParser = class
    inherit TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>
Public Class CSharpCodeParser
Inherits TokenizerBackedParser(Of CSharpTokenizer, CSharpSymbol, CSharpSymbolType)
Inheritance
TokenizerBackedParser<Microsoft.AspNetCore.Razor.Tokenizer.Internal.CSharpTokenizer,CSharpSymbol,CSharpSymbolType>
CSharpCodeParser
Derived

Constructors

CSharpCodeParser()

Properties

Context (Inherited from ParserBase)
CurrentLocation (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
CurrentSymbol (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
EndOfFile (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
IsMarkupParser (Inherited from ParserBase)
IsNested
Keywords
Language
OtherParser
PreviousSymbol (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Span (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
SpanConfig (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Tokenizer (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)

Methods

Accept(IEnumerable<TSymbol>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Accept(TSymbol) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptAll(TSymbolType[]) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptAndMoveNext() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptIf(CSharpKeyword)
AcceptSingleWhiteSpaceCharacter() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptUntil(TSymbolType, TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptUntil(TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptUntil(TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptUntil(TSymbolType[]) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptWhile(Func<TSymbol,Boolean>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptWhile(TSymbolType, TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptWhile(TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptWhile(TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptWhile(TSymbolType[]) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AcceptWhiteSpaceInLines() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AddMarkerSymbolIfNecessary() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AddMarkerSymbolIfNecessary(SourceLocation) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AddTagHelperDirective()
AssertDirective(String)
At(CSharpKeyword)
At(TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
AtIdentifier(Boolean) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Balance(BalancingModes, TSymbolType, TSymbolType, SourceLocation) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Balance(BalancingModes) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
BaseTypeDirective(String, Func<String,SpanChunkGenerator>)
BuildSpan(SpanBuilder, SourceLocation, String) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
CompleteBlock()
CompleteBlock(Boolean, Boolean)
CompleteBlock(Boolean)
ConfigureSpan(Action<SpanBuilder,Action<SpanBuilder>>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
ConfigureSpan(Action<SpanBuilder>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
EnsureCurrent() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Expected(KnownSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Expected(TSymbolType[]) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
FunctionsDirective()
HandleEmbeddedTransition()
InheritsDirective()
InheritsDirectiveCore()
Initialize(SpanBuilder) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
IsAtEmbeddedTransition(Boolean, Boolean)
IsSpacingToken(Boolean, Boolean)
Lookahead(Int32) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
MapDirectives(Action, String[])
NamespaceOrTypeName()
NextIs(Func<TSymbol,Boolean>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
NextIs(TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
NextIs(TSymbolType[]) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
NextToken() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Optional(KnownSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Optional(TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Output(AcceptedCharacters) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Output(SpanKind, AcceptedCharacters) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Output(SpanKind) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
OutputSpanBeforeRazorComment()
ParseBlock()
ParseDocument() (Inherited from ParserBase)
ParseSection(Tuple<String,String>, Boolean) (Inherited from ParserBase)
PushSpanConfig() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
PushSpanConfig(Action<SpanBuilder,Action<SpanBuilder>>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
PushSpanConfig(Action<SpanBuilder>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
PutBack(IEnumerable<TSymbol>)

Put the specified symbols back in the input stream. The provided list MUST be in the ORDER THE SYMBOLS WERE READ. The list WILL be reversed and the Putback(TSymbol) will be called on each item.

(Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
PutBack(TSymbol) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
PutCurrentBack() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
RazorComment() (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
ReadWhile(Func<TSymbol,Boolean>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
RemoveTagHelperDirective()
Required(TSymbolType, Boolean, Func<String,String>) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
ReservedDirective(Boolean)
SectionDirective()
SymbolTypeEquals(CSharpSymbolType, CSharpSymbolType)
SymbolTypeEquals(TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
TagHelperPrefixDirective()
TryGetDirectiveHandler(String, Action)
Was(TSymbolType) (Inherited from TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)

Applies to