MvcRazorCodeParser 类

定义

public ref class MvcRazorCodeParser : Microsoft::AspNetCore::Razor::Parser::CSharpCodeParser
public class MvcRazorCodeParser : Microsoft.AspNetCore.Razor.Parser.CSharpCodeParser
type MvcRazorCodeParser = class
    inherit CSharpCodeParser
Public Class MvcRazorCodeParser
Inherits CSharpCodeParser
继承
TokenizerBackedParser<Microsoft.AspNetCore.Razor.Tokenizer.Internal.CSharpTokenizer,CSharpSymbol,CSharpSymbolType>
MvcRazorCodeParser

构造函数

MvcRazorCodeParser()

属性

Context (继承自 ParserBase)
CurrentLocation (继承自 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
CurrentSymbol (继承自 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
EndOfFile (继承自 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
IsMarkupParser (继承自 ParserBase)
IsNested (继承自 CSharpCodeParser)
Keywords (继承自 CSharpCodeParser)
Language (继承自 CSharpCodeParser)
OtherParser (继承自 CSharpCodeParser)
PreviousSymbol (继承自 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Span (继承自 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
SpanConfig (继承自 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
Tokenizer (继承自 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)

方法

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

将指定的符号放回输入流中。 提供的列表必须按读取符号的顺序。 将反转列表,并且将在每个项上调用 Putback (TSymbol) 。

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

适用于