Module Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd NameLoad Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr While BoolOpAnd Call AttributeLoad NameLoad attr CompareLtE NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr body If BoolOpAnd Call AttributeLoad NameLoad attr CompareGtE NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call NameLoad Num Call AttributeLoad NameLoad attr While CompareGtE NameLoad Num body Assign NameStore BinOpDiv NameLoad Num AugAssignAdd NameStore Num Assign NameStore BinOpAdd Num BinOpMult Call AttributeLoad Call AttributeLoad NameLoad attr attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr body Return Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Print NameLoad If CompareEq NameLoad Str body Assign NameStore Num orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Slice Num orelse If Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num orelse Print Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr
N/A N/A sys PyQt4 QtGui QtCore LineNumberArea N/A N/A QtGui QWidget N/A __init__ N/A N/A self editor N/A N/A N/A N/A self codeEditor editor N/A N/A N/A N/A QtGui QWidget __init__ self editor N/A sizeHint N/A N/A self N/A N/A N/A N/A N/A QtCore QSize N/A N/A N/A self codeEditor lineNumberAreaWidth 0 N/A paintEvent N/A N/A self event N/A N/A N/A N/A N/A N/A self codeEditor lineNumberAreaPaintEvent event N/A N/A CodeEditor N/A N/A QtGui QPlainTextEdit N/A __init__ N/A N/A self parent N/A None N/A N/A N/A N/A N/A QtGui QPlainTextEdit __init__ self parent N/A N/A self lineNumberArea N/A LineNumberArea self N/A N/A N/A self connect self N/A N/A QtCore SIGNAL blockCountChanged(int) N/A self updateLineNumberAreaWidth N/A N/A N/A self connect self N/A N/A QtCore SIGNAL updateRequest(const QRect &, int) N/A self updateLineNumberArea N/A N/A N/A self connect self N/A N/A QtCore SIGNAL cursorPositionChanged() N/A self highlightCurrentLine N/A N/A N/A self updateLineNumberAreaWidth 0 N/A N/A self errorPos None N/A N/A N/A self highlightCurrentLine N/A lineNumberAreaPaintEvent N/A N/A self event N/A N/A N/A painter N/A N/A QtGui QPainter N/A self lineNumberArea N/A N/A N/A painter fillRect N/A N/A event rect N/A N/A QtCore Qt lightGray N/A block N/A N/A self firstVisibleBlock N/A blockNumber N/A N/A block blockNumber N/A top N/A int N/A N/A N/A N/A N/A N/A self blockBoundingGeometry block translated N/A N/A self contentOffset top N/A bottom N/A top N/A int N/A N/A N/A N/A self blockBoundingRect block height N/A N/A N/A N/A block isValid N/A top N/A N/A N/A N/A event rect bottom N/A N/A N/A N/A N/A block isVisible N/A bottom N/A N/A N/A N/A event rect top N/A N/A number N/A str N/A blockNumber 1 N/A N/A N/A painter setPen N/A N/A QtCore Qt black N/A N/A N/A painter drawText 0 top N/A N/A N/A self lineNumberArea width N/A N/A N/A N/A self fontMetrics height N/A N/A QtCore Qt AlignRight number N/A block N/A N/A block next N/A top bottom N/A bottom N/A top N/A int N/A N/A N/A N/A self blockBoundingRect block height N/A blockNumber 1 N/A lineNumberAreaWidth N/A N/A self N/A N/A N/A digits 1 N/A _max N/A max 1 N/A N/A self blockCount N/A N/A _max 10 N/A N/A _max N/A _max 10 N/A digits 1 N/A space N/A 5 N/A N/A N/A N/A N/A self fontMetrics width 9 digits N/A space N/A updateLineNumberAreaWidth N/A N/A self newBlockCount N/A N/A N/A N/A N/A self setViewportMargins N/A N/A self lineNumberAreaWidth 0 0 0 N/A updateLineNumberArea N/A N/A self rect dy N/A N/A N/A dy N/A N/A N/A N/A N/A self lineNumberArea scroll 0 dy N/A N/A N/A N/A N/A self lineNumberArea update 0 N/A N/A rect y N/A N/A N/A self lineNumberArea width N/A N/A rect height N/A N/A N/A rect contains N/A N/A N/A N/A self viewport rect N/A N/A N/A N/A self updateLineNumberAreaWidth 0 N/A resizeEvent N/A N/A self e N/A N/A N/A N/A N/A N/A QtGui QPlainTextEdit resizeEvent self e N/A N/A self cr N/A N/A self contentsRect N/A N/A N/A N/A self lineNumberArea setGeometry N/A N/A N/A self cr left N/A N/A N/A self cr top N/A N/A self lineNumberAreaWidth N/A N/A N/A self cr height N/A highlightError N/A N/A self pos N/A N/A N/A N/A self errorPos pos N/A N/A N/A self highlightCurrentLine N/A highlightCurrentLine N/A N/A self N/A N/A N/A extraSelections N/A N/A N/A N/A N/A self isReadOnly N/A N/A selection N/A N/A N/A QtGui QTextEdit ExtraSelection N/A lineColor N/A N/A N/A N/A QtGui QColor N/A N/A QtCore Qt yellow lighter 160 N/A N/A N/A N/A selection format setBackground lineColor N/A N/A N/A N/A selection format setProperty N/A N/A QtGui QTextFormat FullWidthSelection True N/A N/A selection cursor N/A N/A self textCursor N/A N/A N/A N/A selection cursor clearSelection N/A N/A N/A extraSelections append selection N/A N/A N/A self errorPos None N/A N/A errorSel N/A N/A N/A QtGui QTextEdit ExtraSelection N/A lineColor N/A N/A N/A N/A QtGui QColor N/A N/A QtCore Qt red lighter 160 N/A N/A N/A N/A errorSel format setBackground lineColor N/A N/A N/A N/A errorSel format setProperty N/A N/A QtGui QTextFormat FullWidthSelection True N/A N/A errorSel cursor N/A N/A QtGui QTextCursor N/A N/A self document N/A N/A N/A N/A errorSel cursor setPosition N/A self errorPos N/A N/A N/A N/A errorSel cursor clearSelection N/A N/A N/A extraSelections append errorSel N/A N/A N/A self setExtraSelections extraSelections N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A json N/A N/A N/A ImportError N/A N/A simplejson json highlighter Highlighter N/A app N/A N/A QtGui QApplication N/A sys argv N/A js N/A CodeEditor N/A N/A N/A js setWindowTitle javascript N/A hl N/A Highlighter N/A N/A js document javascript N/A N/A N/A js show validateJSON N/A N/A N/A N/A N/A style N/A unicode N/A N/A js toPlainText N/A N/A N/A N/A style strip N/A N/A N/A pos None N/A N/A N/A N/A N/A json loads style N/A N/A N/A ValueError N/A e N/A N/A s N/A str e N/A s N/A N/A s No JSON object could be decoded N/A N/A pos 0 N/A N/A N/A N/A s startswith Expecting  N/A N/A pos N/A int N/A N/A N/A N/A s split N/A -1 N/A -1 N/A N/A N/A N/A s startswith Extra data N/A N/A pos N/A int N/A N/A N/A s split N/A -3 N/A N/A UNKNOWN ERROR N/A N/A N/A js highlightError pos N/A N/A N/A N/A js connect js N/A N/A QtCore SIGNAL textChanged() validateJSON N/A N/A N/A sys exit N/A N/A app exec_