Compartir a través de


CSharpCodeParser Clase

Definición

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)
Herencia
TokenizerBackedParser<Microsoft.AspNetCore.Razor.Tokenizer.Internal.CSharpTokenizer,CSharpSymbol,CSharpSymbolType>
CSharpCodeParser
Derivado

Constructores

CSharpCodeParser()

Propiedades

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

Métodos

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

Vuelva a colocar los símbolos especificados en el flujo de entrada. La lista proporcionada DEBE estar en EL ORDEN EN QUE SE LEYERON LOS SÍMBOLOS. Se invertirá la lista y se llamará a Putback(TSymbol) en cada elemento.

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

Se aplica a