Constructor

new()

Variables

allowJSON:Bool

activate JSON compatiblity

allowMetadata:Bool

allow haxe metadata declarations

allowTypes:Bool

allow types declarations

@:value(new Map())preprocesorValues:Map<String, Dynamic> = new Map()

allows to check for #if / #else in code

resumeErrors:Bool

resume from parsing errors (when parsing incomplete code, during completion for example)

Methods

inlineerror(err:Error, pmin:Int, pmax:Int):Void

@:value({ position : 0, origin : "hscript" })parseModule(content:String, origin:String = "hscript", position:Int = 0):Array<ModuleDecl>

@:value({ position : 0, origin : "hscript" })parseString(s:String, origin:String = "hscript", position:Int = 0):Expr