共用方式為


CSharpCodeParser 類別

定義

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)
繼承
TokenizerBackedParser<Microsoft.AspNetCore.Razor.Tokenizer.Internal.CSharpTokenizer,CSharpSymbol,CSharpSymbolType>
CSharpCodeParser
衍生

建構函式

CSharpCodeParser()

屬性

Context (繼承來源 ParserBase)
CurrentLocation (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
CurrentSymbol (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
EndOfFile (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
IsMarkupParser (繼承來源 ParserBase)
IsNested
Keywords
Language
OtherParser
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)
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()
AssertDirective(String)
At(CSharpKeyword)
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>)
BuildSpan(SpanBuilder, SourceLocation, String) (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
CompleteBlock()
CompleteBlock(Boolean, Boolean)
CompleteBlock(Boolean)
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()
HandleEmbeddedTransition()
InheritsDirective()
InheritsDirectiveCore()
Initialize(SpanBuilder) (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
IsAtEmbeddedTransition(Boolean, Boolean)
IsSpacingToken(Boolean, Boolean)
Lookahead(Int32) (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
MapDirectives(Action, String[])
NamespaceOrTypeName()
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()
ParseBlock()
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()
Required(TSymbolType, Boolean, Func<String,String>) (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
ReservedDirective(Boolean)
SectionDirective()
SymbolTypeEquals(CSharpSymbolType, CSharpSymbolType)
SymbolTypeEquals(TSymbolType, TSymbolType) (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)
TagHelperPrefixDirective()
TryGetDirectiveHandler(String, Action)
Was(TSymbolType) (繼承來源 TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>)

適用於