Export (0) Print
Expand All

MvcCSharpRazorCodeParser Class

Compiles ASP.NET Razor views into classes.

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

public class MvcCSharpRazorCodeParser : CSharpCodeParser

The MvcCSharpRazorCodeParser type exposes the following members.

  NameDescription
Public methodMvcCSharpRazorCodeParserInitializes a new instance of the MvcCSharpRazorCodeParser() class.
Top

  NameDescription
Protected methodAccept(IEnumerable<TSymbol>) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAccept(TSymbol) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptAll (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptAndMoveNext (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptIf (Inherited from CSharpCodeParser.)
Protected methodAcceptSingleWhiteSpaceCharacter (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptUntil(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptUntil(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptUntil(TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptUntil(TSymbolType, TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptWhile(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptWhile(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptWhile(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptWhile(TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptWhile(TSymbolType, TSymbolType, TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAcceptWhiteSpaceInLines (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAddMarkerSymbolIfNecessary() (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAddMarkerSymbolIfNecessary(SourceLocation) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAssertDirective (Inherited from CSharpCodeParser.)
Protected methodAt(CSharpKeyword) (Inherited from CSharpCodeParser.)
Protected methodAt(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodAtIdentifier (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodBalance(BalancingModes) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodBalance(BalancingModes, TSymbolType, TSymbolType, SourceLocation) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodBaseTypeDirective (Inherited from CSharpCodeParser.)
Public methodBuildSpan (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodConfigureSpan(Action<SpanBuilder>) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodConfigureSpan(ActionSpanBuilder, ActionSpanBuilder) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodEnsureCurrent (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Public methodEquals (Inherited from Object.)
Protected methodExpected(KnownSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodExpected(TSymbolType[]) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodFinalize (Inherited from Object.)
Protected methodFunctionsDirective (Inherited from CSharpCodeParser.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodHandleEmbeddedTransition (Inherited from CSharpCodeParser.)
Protected methodHelperDirective (Inherited from CSharpCodeParser.)
Protected methodInheritsDirectiveThe inherits directive. (Overrides CSharpCodeParser.InheritsDirective().)
Protected methodInheritsDirectiveCore (Inherited from CSharpCodeParser.)
Protected methodInitialize (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodIsAtEmbeddedTransition (Inherited from CSharpCodeParser.)
Protected methodLayoutDirective (Inherited from CSharpCodeParser.)
Protected methodMapDirectives (Inherited from CSharpCodeParser.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodModelDirectiveThe model directive.
Protected methodNextIs(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodNextIs(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodNextIs(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodNextToken (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodOptional(KnownSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodOptional(TSymbolType) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodOutput(SpanKind) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodOutput(AcceptedCharacters) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodOutput(SpanKind, AcceptedCharacters) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodOutputSpanBeforeRazorComment (Inherited from CSharpCodeParser.)
Public methodParseBlock (Inherited from CSharpCodeParser.)
Public methodParseDocument (Inherited from ParserBase.)
Public methodParseSection (Inherited from ParserBase.)
Protected methodPushSpanConfig() (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodPushSpanConfig(Action<SpanBuilder>) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodPushSpanConfig(ActionSpanBuilder, ActionSpanBuilder) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodPutBack(TSymbol) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodPutBack(TSymbol) (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodPutCurrentBack (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodRazorComment (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodReadWhile (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodRequired (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
Protected methodReservedDirective (Inherited from CSharpCodeParser.)
Protected methodSectionDirective (Inherited from CSharpCodeParser.)
Protected methodSessionStateDirective (Inherited from CSharpCodeParser.)
Protected methodSessionStateDirectiveCore (Inherited from CSharpCodeParser.)
Protected methodSessionStateTypeDirective (Inherited from CSharpCodeParser.)
Public methodToString (Inherited from Object.)
Protected methodTryGetDirectiveHandler (Inherited from CSharpCodeParser.)
Protected methodValidSessionStateValue (Inherited from CSharpCodeParser.)
Protected methodWas (Inherited from TokenizerBackedParser<CSharpTokenizer, CSharpSymbol, CSharpSymbolType>.)
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:
© 2014 Microsoft