Class sandy.events.ParserEvent

Description

Class of the Parser events.

Method Index

new ParserEvent()
getPercent(), getString(), setPercent()

Constructor Detail

ParserEvent

public function ParserEvent(e:EventType, oT, np:Number, ps:String)

Method Detail

setPercent

public function setPercent(n:Number):Void

getPercent

public function getPercent(Void):Number

Returns the percentage of the parsing.

Parameters

Void

Return

The percentage value, between [0,100]

getString

public function getString(Void):String

Returns the string representation of the parser code generation. This allows you to save the code into a primitive class, and avoid the generation everytime. This string si non null only if you called the export method of your Parser!