C# Class System.Web.Compilation.AspParser

Inheritance: ILocation
Show file Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
AspParser ( string filename, TextReader input ) : System
AspParser ( string filename, TextReader input, int startLineOffset, int positionOffset, AspParser outer ) : System
Parse ( ) : void
ToString ( ) : string

Private Methods

Method Description
BeginElement ( ) : void
Eat ( int expected_token ) : bool
EndElement ( ) : void
GetAttributes ( ) : TagAttributes
GetInclude ( string str, string &pathType, string &filename ) : bool
GetServerTag ( TagType &tagtype, string &id, TagAttributes &attributes ) : void
GetTag ( TagType &tagtype, string &id, TagAttributes &attributes ) : void
GetVerbatim ( int token, string end ) : string
OnError ( string msg ) : void
OnParsingComplete ( ) : void
OnTagParsed ( TagType tagtype, string id, TagAttributes attributes ) : void
OnTextParsed ( string text ) : void
RemoveComments ( string text ) : string

Method Details

AspParser() public method

public AspParser ( string filename, TextReader input ) : System
filename string
input TextReader
return System

AspParser() public method

public AspParser ( string filename, TextReader input, int startLineOffset, int positionOffset, AspParser outer ) : System
filename string
input TextReader
startLineOffset int
positionOffset int
outer AspParser
return System

Parse() public method

public Parse ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string