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
- LLParserBase.CreateParserState(ITokenReader, IAstNodeBuilder, ITextSnapshot)
- LLParserBase.CreateTokenReader(ITextBufferReader)
- LLParserBase.InitializeParseData(LLParseData, IParserState)
- LLParserBase.InitializeParserState(IParserState, IParseRequest)
- LLParserBase.Parse(IParseRequest)
- LLParserBase.Grammar
- ParserBase.Key
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()