Tokenizer(TSymbol, TSymbolType) Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Web.Razor.Tokenizer
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

JScript does not support generic types and methods.

Type Parameters

TSymbol

The type for the language symbol.

TSymbolType

The enumeration type for the language symbol.

The Tokenizer(TSymbol, TSymbolType) type exposes the following members.

  NameDescription
Protected methodTokenizer(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 Tokenizer(TSymbol, TSymbolType) class.
Top

  NameDescription
Protected propertyBufferThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the buffer for the tokenizer.
Protected propertyCurrentCharacterThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current character in the tokenizer.
Protected propertyCurrentErrorsThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a list of the current razor errors.
Protected propertyCurrentLocationThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current source location.
Protected propertyCurrentStartThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current start of the source location.
Protected propertyCurrentStateThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the current state of the machine. (Inherited from StateMachine(TReturn).)
Protected propertyEndOfFileThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value whether the tokenizer current location is at the end of the file.
Protected propertyHaveContentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value whether the tokenizer have content.
Public propertyRazorCommentStarTypeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the star type for the razor comment.
Public propertyRazorCommentTransitionTypeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the transition type for the razor comment.
Public propertyRazorCommentTypeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the type of razor comment.
Public propertySourceThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the source of the text document.
Protected propertyStartStateThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the starting state of the machine. (Inherited from StateMachine(TReturn).)
Top

  NameDescription
Protected methodAfterRazorCommentTransitionThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a result after the razor comment transition.
Protected methodAtThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the lookahead buffer contains the expected string.
Protected methodCharOrWhiteSpaceReturns a function delegate, that accepts a character parameter and returns a value that indicates whether the character parameter is equal to specified character or white space.
Protected methodCreateSymbolThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a language symbol type for the tokenizer with the specified content.
Protected methodEndSymbol(TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the language end symbol type used by the tokenizer.
Protected methodEndSymbol(SourceLocation, TSymbolType)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the language end symbol type used by the tokenizer.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMoveNextThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Reads to the next character from the code reader.
Public methodNextSymbolThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Shows the next symbol to be used.
Protected methodPeekThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Reads the next symbol in the code.
Protected methodRazorCommentBodyThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the Razor comment body.
Public methodResetThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Sets the tokenizer status to its initial state.
Protected methodResumeSymbolThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Resumes using the previous language symbol type.
Protected methodSingleThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Uses a single type of symbol.
Protected methodStartSymbolThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the start symbol used in this class.
Protected methodStay()This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Stays into the machine during the transition. (Inherited from StateMachine(TReturn).)
Protected methodStay(TReturn)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Stays into the machine during the transition with the specified output. (Inherited from StateMachine(TReturn).)
Protected methodStopThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Disables the machine upon transition. (Inherited from StateMachine(TReturn).)
Protected methodTakeAllThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Takes the string if found in the lookahead buffer into the tokenizer buffer.
Protected methodTakeCurrentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the current character into the buffer.
Protected methodTakeStringThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the given input string into the buffer.
Protected methodTakeUntilParses the source document until the condition specified by predicate is met or end file is reached.
Public methodToString (Inherited from Object.)
Protected methodTransition(StateMachine(TReturn).State)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the new transition of the state. (Inherited from StateMachine(TReturn).)
Protected methodTransition(TReturn, StateMachine(TReturn).State)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the new transition of the state with the specified output. (Inherited from StateMachine(TReturn).)
Protected methodTurnThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Describes the turning process of the state. (Inherited from StateMachine(TReturn).)
Top

  NameDescription
Explicit interface implemetationPrivate methodITokenizer.NextSymbolThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the next language symbol type.
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: