In This Article

XmlParser Class

Represents a parser for the XML language.

public class XmlParser : XmlParserBase, ILLParser, IParser, IKeyedObject
Inheritance:
object ParserBase LLParserBase XmlParserBase object
Implements:
ILLParser IParser IKeyedObject

Constructors

XmlParser()

Initializes a new instance of the XmlParser class.

public XmlParser()

XmlParser(Grammar)

Initializes a new instance of the XmlParser class.

public XmlParser(Grammar grammar)
Parameter Type Description
grammar Grammar

The Grammar instance to use.

Methods

CreateTokenReader(ITextBufferReader)

Creates an ITokenReader that is used by the parser to read through tokens.

public override ITokenReader CreateTokenReader(ITextBufferReader reader)
Parameter Type Description
reader ITextBufferReader

The ITextBufferReader that provides access to the text buffer.

Returns

ITokenReader:

An ITokenReader that is used by the parser to read through tokens.

Inherited Members