CSharpTokenizer CSharpTokenizer CSharpTokenizer Class

Definition

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

public class CSharpTokenizer : System.Web.Razor.Tokenizer.Tokenizer<System.Web.Razor.Tokenizer.Symbols.CSharpSymbol,System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType>
type CSharpTokenizer = class
    inherit Tokenizer<CSharpSymbol, CSharpSymbolType>
Public Class CSharpTokenizer
Inherits Tokenizer(Of CSharpSymbol, CSharpSymbolType)
Inheritance

Constructors

CSharpTokenizer(ITextDocument) CSharpTokenizer(ITextDocument) CSharpTokenizer(ITextDocument)

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 CSharpTokenizer class.

Properties

Buffer Buffer Buffer

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
CurrentCharacter CurrentCharacter CurrentCharacter

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
CurrentErrors CurrentErrors CurrentErrors

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
CurrentLocation CurrentLocation CurrentLocation

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

(Inherited from Tokenizer<TSymbol,TSymbolType>)
CurrentStart CurrentStart CurrentStart

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
CurrentState CurrentState CurrentState

This 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>)
EndOfFile EndOfFile EndOfFile

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
HaveContent HaveContent HaveContent

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
RazorCommentStarType RazorCommentStarType RazorCommentStarType

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

RazorCommentTransitionType RazorCommentTransitionType RazorCommentTransitionType

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the razor comment transition type for the CSharpSymbolType.

RazorCommentType RazorCommentType RazorCommentType

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

Source Source Source

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
StartState StartState StartState

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

Methods

AfterRazorCommentTransition() AfterRazorCommentTransition() AfterRazorCommentTransition()

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
At(String, Boolean) At(String, Boolean) At(String, Boolean)

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
CharOrWhiteSpace(Char) CharOrWhiteSpace(Char) CharOrWhiteSpace(Char)

Returns 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
CreateSymbol(SourceLocation, String, CSharpSymbolType, IEnumerable<RazorError>) CreateSymbol(SourceLocation, String, CSharpSymbolType, IEnumerable<RazorError>) CreateSymbol(SourceLocation, String, CSharpSymbolType, IEnumerable<RazorError>)

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

CreateSymbol(SourceLocation, String, TSymbolType, IEnumerable<RazorError>) CreateSymbol(SourceLocation, String, TSymbolType, IEnumerable<RazorError>) CreateSymbol(SourceLocation, String, TSymbolType, IEnumerable<RazorError>)

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
EndSymbol(SourceLocation, TSymbolType) EndSymbol(SourceLocation, TSymbolType) EndSymbol(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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
EndSymbol(TSymbolType) EndSymbol(TSymbolType) EndSymbol(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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
MoveNext() MoveNext() MoveNext()

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
NextSymbol() NextSymbol() NextSymbol()

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
Peek() Peek() Peek()

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
RazorCommentBody() RazorCommentBody() RazorCommentBody()

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

(Inherited from Tokenizer<TSymbol,TSymbolType>)
Reset() Reset() Reset()

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
ResumeSymbol(TSymbol) ResumeSymbol(TSymbol) ResumeSymbol(TSymbol)

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
Single(TSymbolType) Single(TSymbolType) Single(TSymbolType)

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

(Inherited from Tokenizer<TSymbol,TSymbolType>)
StartSymbol() StartSymbol() StartSymbol()

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
Stay() Stay() Stay()

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>)
Stay(TReturn) Stay(TReturn) Stay(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>)
Stop() Stop() Stop()

This 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>)
TakeAll(String, Boolean) TakeAll(String, Boolean) TakeAll(String, Boolean)

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
TakeCurrent() TakeCurrent() TakeCurrent()

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
TakeString(String, Boolean) TakeString(String, Boolean) TakeString(String, Boolean)

This 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.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
TakeUntil(Func<Char,Boolean>) TakeUntil(Func<Char,Boolean>) TakeUntil(Func<Char,Boolean>)

Parses the source document until the condition specified by predicate is met or end file is reached.

(Inherited from Tokenizer<TSymbol,TSymbolType>)
Transition(StateMachine<TReturn>) Transition(StateMachine<TReturn>) Transition(StateMachine<TReturn>)

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>)
Transition(TReturn, StateMachine<TReturn>) Transition(TReturn, StateMachine<TReturn>) Transition(TReturn, StateMachine<TReturn>)

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>)
Turn() Turn() Turn()

This 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>)

Explicit Interface Implementations

ITokenizer.NextSymbol() ITokenizer.NextSymbol() ITokenizer.NextSymbol()

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

(Inherited from Tokenizer<TSymbol,TSymbolType>)

Applies to