View source
interface ILineParser
package moonshine.editor.text.syntax.parser
extended by ContextSwitchLineParser, LineParser, PlainTextLineParser
Interface for line parsers.
Variables
read 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.