Export (0) Print
Expand All

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.

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)

public abstract class TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> : ParserBase 
where TTokenizer : Tokenizer<TSymbol, TSymbolType>
where TSymbol : SymbolBase<TSymbolType>

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.

  NameDescription
Protected methodTokenizerBackedParser<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

  NameDescription
Public propertyContextThis 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.)
Protected propertyCurrentLocationThis 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.
Protected propertyCurrentSymbolThis 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.
Protected propertyEndOfFileThis 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.
Public propertyIsMarkupParserThis 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.)
Protected propertyLanguageThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the language used for parsing.
Protected propertyOtherParserThis 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.)
Protected propertyPreviousSymbolThis 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.
Protected propertySpanThis 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.
Protected propertySpanConfigThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the span configuration.
Protected propertyTokenizerThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the tokenizer.
Top

  NameDescription
Protected methodAccept(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
Protected methodAccept(TSymbol)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the specified symbol.
Protected methodAcceptAllThis 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.
Protected methodAcceptAndMoveNextThis 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.
Protected methodAcceptSingleWhiteSpaceCharacterThis 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.
Protected methodAcceptUntil(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.
Protected methodAcceptUntil(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.
Protected methodAcceptUntil(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.
Protected methodAcceptUntil(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.
Protected methodAcceptWhile(Func<TSymbol, Boolean>)Accepts token while the condition has been reached.
Protected methodAcceptWhile(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.
Protected methodAcceptWhile(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.
Protected methodAcceptWhile(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.
Protected methodAcceptWhile(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.
Protected methodAcceptWhiteSpaceInLinesThis 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.
Protected methodAddMarkerSymbolIfNecessary()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.
Protected methodAddMarkerSymbolIfNecessary(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.
Protected methodAtThis 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.
Protected methodAtIdentifierThis 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.
Protected methodBalance(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.
Protected methodBalance(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.
Public methodBuildSpanThis 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).)
Protected methodConfigureSpan(Action<SpanBuilder>)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Configures the span.
Protected methodConfigureSpan(Action<SpanBuilder, Action<SpanBuilder>>)Configures the span.
Protected methodEnsureCurrentThis 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.
Public methodEquals (Inherited from Object.)
Protected methodExpected(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.
Protected methodExpected(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.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodHandleEmbeddedTransitionThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Handles the embedded transition.
Protected methodInitializeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a specified span.
Protected methodIsAtEmbeddedTransitionThis 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.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNextIs(Func<TSymbol, Boolean>)Determines whether the token with the given condition would pass.
Protected methodNextIs(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.
Protected methodNextIs(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.
Protected methodNextTokenThis 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.
Protected methodOptional(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.
Protected methodOptional(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.
Protected methodOutput(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.
Protected methodOutput(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.
Protected methodOutput(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.
Protected methodOutputSpanBeforeRazorCommentThis 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.
Public methodParseBlockThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Blocks the parser. (Inherited from ParserBase.)
Public methodParseDocumentThis 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.)
Public methodParseSectionParses the section in ordered list of the elements. (Inherited from ParserBase.)
Protected methodPushSpanConfig()This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Pushes the span configuration.
Protected methodPushSpanConfig(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.
Protected methodPushSpanConfig(Action<SpanBuilder, Action<SpanBuilder>>)Pushes the span configuration.
Protected methodPutBack(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.
Protected methodPutBack(TSymbol)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts the transition back.
Protected methodPutCurrentBackThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts the current transition back.
Protected methodRazorCommentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Displays the razor comment.
Protected methodReadWhileReads a token while the condition is not reached.
Protected methodRequiredThis 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.
Public methodToString (Inherited from Object.)
Protected methodWasThis 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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft