Interface for line parsers.

Variables

@:flash.propertyread onlydefaultContext:Int

The default context that this line parser uses when a more specific context isn't required.

Methods

parse(sourceCode:String, startLine:Int, startChar:Int, endLine:Int, endChar:Int):Array<Int>

Parses the source code and returns an array of positions and contexts.

setContext(newContext:Int):Void

Sets the parser's current context.