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(Grammar?)

Represents a parser for the XML language.

public XmlParser(Grammar? grammar = null)
Parameter Type Description
grammar Grammar

The optional Grammar instance to use, with a new XmlGrammar being created if none is specified.

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

Inherited Members

Extension Methods