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({ origin : "hscript" })parseModule(content:String, origin:String = "hscript"):Array<ModuleDecl>

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