TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a tokenizer backed parser.
Inheritance Hierarchy
System.Object
System.Web.Razor.Parser.ParserBase
System.Web.Razor.Parser.TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>
System.Web.Razor.Parser.CSharpCodeParser
System.Web.Razor.Parser.HtmlMarkupParser
System.Web.Razor.Parser.VBCodeParser
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public MustInherit Class TokenizerBackedParser(Of TTokenizer As Tokenizer(Of TSymbol, TSymbolType), TSymbol As SymbolBase(Of TSymbolType), TSymbolType) _
Inherits ParserBase
'Usage
Dim instance As TokenizerBackedParser(Of TTokenizer, TSymbol, TSymbolType)
public abstract class TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> : ParserBase
where TTokenizer : Tokenizer<TSymbol, TSymbolType>
where TSymbol : SymbolBase<TSymbolType>
generic<typename TTokenizer, typename TSymbol, typename TSymbolType>
where TTokenizer : Tokenizer<TSymbol, TSymbolType>
where TSymbol : SymbolBase<TSymbolType>
public ref class TokenizerBackedParser abstract : public ParserBase
[<AbstractClassAttribute>]
type TokenizerBackedParser<'TTokenizer, 'TSymbol, 'TSymbolType when 'TTokenizer : Tokenizer<'TSymbol, 'TSymbolType> when 'TSymbol : SymbolBase<'TSymbolType>> =
class
inherit ParserBase
end
JScript does not support generic types and methods.
Type Parameters
- TTokenizer
The type of tokenizer.
- TSymbol
The type of symbol.
- TSymbolType
The type of SymbolType.
The TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Context | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the ParserContext. (Inherited from ParserBase.) |
![]() |
CurrentLocation | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current location of the current instance. |
![]() |
CurrentSymbol | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current symbol of this instance. |
![]() |
EndOfFile | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value indicating whether the tokenizer is in the end of file. |
![]() |
IsMarkupParser | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether the parser is a markup parser. (Inherited from ParserBase.) |
![]() |
Language | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the language used for parsing. |
![]() |
OtherParser | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the other parser ParserBase. (Inherited from ParserBase.) |
![]() |
PreviousSymbol | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code..Gets the previous symbol of this instance. |
![]() |
Span | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the SpanBuilder associated with this instance. |
![]() |
SpanConfig | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the span configuration. |
![]() |
Tokenizer | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the tokenizer. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Accept(IEnumerable<TSymbol>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the list of symbols |
![]() |
Accept(TSymbol) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the specified symbol. |
![]() |
AcceptAll | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts all types of tokenizer. |
![]() |
AcceptAndMoveNext | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts and moves to the next tokenizer. |
![]() |
AcceptSingleWhiteSpaceCharacter | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts single whitespace character. |
![]() |
AcceptUntil(TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token until a token of the given type is found. |
![]() |
AcceptUntil(TSymbolType[]) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token until a token of the given types is found. |
![]() |
AcceptUntil(TSymbolType, TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token until a token of the given type is found and it will backup so that the next token is of the given type. |
![]() |
AcceptUntil(TSymbolType, TSymbolType, TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the given tokens until a token of the given type is found. |
![]() |
AcceptWhile(Func<TSymbol, Boolean>) | Accepts token while the condition has been reached. |
![]() |
AcceptWhile(TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the token while a token of the given type is not found. |
![]() |
AcceptWhile(TSymbolType[]) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token while the token of the given types has been reached. |
![]() |
AcceptWhile(TSymbolType, TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token while the token of the given type has been reached. |
![]() |
AcceptWhile(TSymbolType, TSymbolType, TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts token while the token of the given type has been reached. |
![]() |
AcceptWhiteSpaceInLines | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser accepts whitespace in lines. |
![]() |
AddMarkerSymbolIfNecessary() | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a marker symbol if necessary. |
![]() |
AddMarkerSymbolIfNecessary(SourceLocation) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a marker symbol if necessary. |
![]() |
At | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token is at the specified type. |
![]() |
AtIdentifier | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token is at the specified identifier. |
![]() |
Balance(BalancingModes) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance. |
![]() |
Balance(BalancingModes, TSymbolType, TSymbolType, SourceLocation) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parsing is balance. |
![]() |
BuildSpan | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Builds a specified span. (Overrides ParserBase.BuildSpan(SpanBuilder, SourceLocation, String).) |
![]() |
ConfigureSpan(Action<SpanBuilder>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Configures the span. |
![]() |
ConfigureSpan(Action<SpanBuilder, Action<SpanBuilder>>) | Configures the span. |
![]() |
EnsureCurrent | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether to ensure the current parser. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Expected(TSymbolType[]) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the expected token with the given types. |
![]() |
Expected(KnownSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the expected token with the given type. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
HandleEmbeddedTransition | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Handles the embedded transition. |
![]() |
Initialize | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a specified span. |
![]() |
IsAtEmbeddedTransition | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether this instance is at embedded transition. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
NextIs(Func<TSymbol, Boolean>) | Determines whether the token with the given condition would pass. |
![]() |
NextIs(TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given type would pass. |
![]() |
NextIs(TSymbolType[]) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given types would pass. |
![]() |
NextToken | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the parser advances to the next token. |
![]() |
Optional(TSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional. |
![]() |
Optional(KnownSymbolType) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional. |
![]() |
Output(AcceptedCharacters) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a token with accepted characters. |
![]() |
Output(SpanKind) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a token with span kind. |
![]() |
Output(SpanKind, AcceptedCharacters) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a token with a given span kind and accepted characters. |
![]() |
OutputSpanBeforeRazorComment | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Outputs a span before the razor comment. |
![]() |
ParseBlock | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Blocks the parser. (Inherited from ParserBase.) |
![]() |
ParseDocument | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates documentation for the parse. (Inherited from ParserBase.) |
![]() |
ParseSection | Parses the section in ordered list of the elements. (Inherited from ParserBase.) |
![]() |
PushSpanConfig() | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Pushes the span configuration. |
![]() |
PushSpanConfig(Action<SpanBuilder>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Pushes the span configuration. |
![]() |
PushSpanConfig(Action<SpanBuilder, Action<SpanBuilder>>) | Pushes the span configuration. |
![]() |
PutBack(IEnumerable<TSymbol>) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts the transition back. |
![]() |
PutBack(TSymbol) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts the transition back. |
![]() |
PutCurrentBack | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts the current transition back. |
![]() |
RazorComment | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Displays the razor comment. |
![]() |
ReadWhile | Reads a token while the condition is not reached. |
![]() |
Required | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the expected token is required. |
![]() |
ToString | (Inherited from Object.) |
![]() |
Was | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the token with the given type was parsed. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.