Parses lines of Python code to determine how the syntax is highlighted.
@:value(0x1)staticfinalread onlyPY_CODE:Int = 0x1
@:value(0x5)staticfinalread onlyPY_COMMENT:Int = 0x5
@:value(0xA)staticfinalread onlyPY_FUNCTION_KEYWORD:Int = 0xA
@:value(0x6)staticfinalread onlyPY_KEYWORD:Int = 0x6
@:value(0x4)staticfinalread onlyPY_MULTILINE_STRING:Int = 0x4
@:value(0xB)staticfinalread onlyPY_PACKAGE_CLASS_KEYWORDS:Int = 0xB
@:value(0x2)staticfinalread onlyPY_STRING1:Int = 0x2
@:value(0x3)staticfinalread onlyPY_STRING2:Int = 0x3
new()
Creates a new PythonLineParser object.
PythonLineParser
@:flash.propertyread onlydefaultContext:Int
See also:
ILineParser.defaultContext
parse(sourceCode:String, startLine:Int, startChar:Int, endLine:Int, endChar:Int):Array<Int>
ILineParser.parse()
setContext(newContext:Int):Void
ILineParser.setContext()