In This Article

IronyParser Class

Represents an IParser (syntax/semantic analyzer) implementation that can be used to call an Irony Parser.

public class IronyParser : ParserBase, IParser, IKeyedObject
Inheritance:
object ParserBase object
Implements:
IParser IKeyedObject

Constructors

IronyParser(Grammar)

Initializes a new instance of the IronyParser class.

public IronyParser(Grammar grammar)
Parameter Type Description
grammar Grammar

The Irony Irony.Parsing.Grammar to use.

Properties

Parser

Gets the Irony parser that is used by this class.

public Parser Parser { get; }

Property Value

Parser:

The Irony parser that is used by this class.

Methods

Parse(IParseRequest)

Performs a parsing operation using the parameters specified in the supplied IParseRequest and returns the resulting parse data.

public override IParseData Parse(IParseRequest request)
Parameter Type Description
request IParseRequest

The IParseRequest that contains data about the requested parsing operation.

Returns

IParseData:

An IParseData that is the result of the parsing operation.

Remarks

A IParseRequestDispatcher typically calls this method when a queued parse request is ready to be processed.

Inherited Members