Partager via


CSharpCodeParser Classe

Définition

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)
Héritage
TokenizerBackedParser<Microsoft.AspNetCore.Razor.Tokenizer.Internal.CSharpTokenizer,CSharpSymbol,CSharpSymbolType>
CSharpCodeParser
Dérivé

Constructeurs

CSharpCodeParser()

Propriétés

Context (Hérité de ParserBase)
CurrentLocation (Hérité de TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
CurrentSymbol (Hérité de TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
EndOfFile (Hérité de TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
IsMarkupParser (Hérité de ParserBase)
IsNested
Keywords
Language
OtherParser
PreviousSymbol (Hérité de TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Span (Hérité de TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
SpanConfig (Hérité de TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Tokenizer (Hérité de TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)

Méthodes

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

Replacez les symboles spécifiés dans le flux d’entrée. La liste fournie DOIT être dans l’ORDRE DANS LEQUEL LES SYMBOLES ONT ÉTÉ LUS. La liste sera inversée et putback(TSymbol) sera appelée sur chaque élément.

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

S’applique à