Parses lines of Python code to determine how the syntax is highlighted.

Static variables

@: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

Constructor

new()

Creates a new PythonLineParser object.

Inherited Variables

Defined by LineParser

@:flash.propertyread onlydefaultContext:Int

Inherited Methods

Defined by LineParser

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

setContext(newContext:Int):Void