In This Article

DotNetParserBase Class

Provides the abstract base class of a .NET language parser.

public abstract class DotNetParserBase : LLParserBase, ILLParser, IParser, IKeyedObject
Inheritance:
object ParserBase LLParserBase object
Derived:
CSharpParser VBParser
Implements:
ILLParser IParser IKeyedObject

Constructors

DotNetParserBase(Grammar)

Initializes a new instance of the DotNetParserBase class.

protected DotNetParserBase(Grammar grammar)
Parameter Type Description
grammar Grammar

The Grammar instance to use.

Methods

CreateParseData(IParseRequest, IParserState)

Creates an IParseData for the specified IParserState.

protected override IParseData CreateParseData(IParseRequest request, IParserState state)
Parameter Type Description
request IParseRequest

The IParseRequest that contains data about the requested parsing operation.

state IParserState

The IParserState to examine.

Returns

IParseData:

The IParseData that was created.

Inherited Members