Module ImportFrom alias Import alias Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Call NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Call NameLoad body If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd BinOpAdd Str NameLoad Str keyword NameLoad Return CompareEq NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Return Num orelse Return Num decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str If UnaryOpNot CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str BinOpAdd Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareLtE Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot CompareEq NameLoad NameLoad body AugAssignAdd NameStore ListLoad Call AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd Str SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Slice Num If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad BinOpDiv NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Num AugAssignAdd NameStore BinOpAdd Str SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num For NameStore NameLoad body AugAssignAdd NameStore BinOpAdd BinOpAdd BinOpAdd Str BinOpMult BinOpAdd BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults BinOpAdd SubscriptLoad Call AttributeLoad NameLoad attr Num Slice UnaryOpUSub Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Num For NameStore Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore BinOpSub Call NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr If BoolOpOr CompareEq NameLoad Num CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BinOpMult Call NameLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Return BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad For NameStore Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Continue If Call AttributeLoad NameLoad attr Str NameLoad body AugAssignSub AttributeStore NameLoad attr Num AugAssignAdd NameStore BinOpMult BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad orelse AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Pass orelse If Call AttributeLoad NameLoad attr Str NameLoad body AugAssignAdd AttributeStore NameLoad attr Num If BoolOpAnd UnaryOpNot CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A __future__ print_function N/A sys N/A re N/A sublime N/A N/A __version__ __version__ N/A N/A N/A ValueError N/A __version__ __version__ BeautifierOptions N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self indent_size 4 N/A N/A self indent_char N/A N/A self indent_with_tabs False N/A N/A self expand_tags False N/A N/A self minimum_attribute_count 2 N/A N/A self first_attribute_on_new_line False N/A N/A self reduce_empty_tags False N/A N/A self exception_on_tag_mismatch False N/A N/A self custom_singletons N/A __repr__ N/A N/A self N/A N/A N/A N/A indent_size = %d
indent_char = [%s]
indent_with_tabs = [%s]
expand_tags = [%s]
minimum_attribute_count = %d
first_attribute_on_new_line = [%s]
reduce_empty_tags = [%s]
exception_on_tag_mismatch = [%s]
custom_singletons = [%s] N/A N/A self indent_size N/A self indent_char N/A self indent_with_tabs N/A self expand_tags N/A self minimum_attribute_count N/A self first_attribute_on_new_line N/A self reduce_empty_tags N/A self exception_on_tag_mismatch N/A self custom_singletons N/A N/A default_options N/A N/A N/A N/A N/A N/A BeautifierOptions N/A beautify N/A N/A string opts N/A N/A default_options N/A N/A b N/A Beautifier string opts N/A N/A N/A b beautify N/A beautify_file N/A N/A file_name opts N/A N/A default_options N/A N/A N/A file_name - N/A N/A stream N/A sys stdin N/A N/A stream N/A open file_name N/A content N/A N/A join N/A N/A stream readlines N/A b N/A Beautifier content opts N/A N/A N/A b beautify N/A usage N/A N/A stream N/A N/A sys stdout N/A N/A N/A print N/A N/A htmlbeautifier.py@ __version__ 
HTML beautifier (http://jsbeautifier.org/)
 file stream N/A N/A stream N/A sys stderr N/A N/A stream N/A sys stderr N/A N/A 1 N/A N/A 0 N/A Beautifier N/A N/A __init__ N/A N/A self source_text opts N/A N/A default_options N/A N/A N/A self source_text source_text N/A N/A self opts opts N/A N/A self exception_on_tag_mismatch N/A opts exception_on_tag_mismatch N/A N/A self expand_tags N/A opts expand_tags N/A N/A self minimum_attribute_count N/A opts minimum_attribute_count N/A N/A self first_attribute_on_new_line N/A opts first_attribute_on_new_line N/A N/A self reduce_empty_tags N/A opts reduce_empty_tags N/A N/A self indent_size N/A opts indent_size N/A N/A self indent_char N/A opts indent_char N/A N/A self indent_with_tabs N/A opts indent_with_tabs N/A N/A self indent_with_tabs N/A N/A N/A self indent_char N/A N/A self indent_size 1 N/A N/A self tab_size N/A N/A N/A N/A sublime load_settings Preferences.sublime-settings get tab_size 4 N/A N/A self indent_level 0 N/A N/A self singletons <(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr<%= custom %>)([^>]*?)/?>(?:\s*?</\1>)? N/A N/A N/A N/A opts custom_singletons N/A N/A N/A self singletons N/A N/A re sub <%= custom %> N/A | N/A opts custom_singletons N/A self singletons N/A N/A N/A self singletons N/A N/A re sub <%= custom %> N/A self singletons N/A N/A self singletons N/A N/A re compile N/A self singletons N/A re I N/A N/A self removed_css N/A N/A N/A self removed_js N/A N/A N/A self removed_comments N/A N/A expand_tag N/A N/A self str N/A N/A N/A _str N/A N/A str group 0 N/A s N/A N/A re findall ([\w\-]+(?:=(?:"[^"]*"|\'[^\']*\'))?) _str N/A N/A N/A len s N/A self minimum_attribute_count N/A N/A _str N/A tagEnd N/A N/A re search /?>$ _str N/A N/A N/A tagEnd None N/A N/A s N/A N/A N/A tagEnd group 0 N/A tag N/A < N/A s N/A 0 N/A indent N/A N/A len tag 1 N/A s N/A s N/A 1 N/A N/A self first_attribute_on_new_line N/A N/A N/A self indent_with_tabs N/A N/A indent 0 N/A extra_tabs 1 N/A N/A indent N/A self indent_size N/A extra_tabs 0 N/A N/A N/A self indent_with_tabs N/A N/A extra_tabs N/A int N/A indent N/A self tab_size N/A indent N/A indent N/A self tab_size N/A N/A extra_tabs 0 N/A tag N/A N/A s N/A 0 N/A s N/A s N/A 1 N/A l s N/A N/A tag N/A N/A N/A N/A N/A N/A N/A self indent_level N/A self indent_size extra_tabs N/A self indent_char N/A indent l N/A tag N/A remove_newlines N/A N/A self ch N/A N/A N/A N/A N/A N/A str N/A N/A N/A re sub \n\s* ch N/A N/A str group 0 N/A remove N/A N/A self pattern replacement findList raw N/A N/A N/A pattern N/A N/A re compile N/A (?<=\n)\s*? pattern N/A N/A re S N/A re I N/A N/A N/A findList extend N/A N/A pattern findall raw N/A N/A N/A pattern sub N/A N/A N/A match N/A N/A N/A N/A N/A match group 0 N/A N/A N/A len N/A N/A N/A N/A match group 0 lstrip replacement raw N/A remove_js N/A N/A self raw N/A N/A N/A N/A N/A self remove <script[^>]*>.*?</script> /* SCRIPT */ N/A self removed_js raw N/A remove_css N/A N/A self raw N/A N/A N/A N/A N/A self remove <style[^>]*>.*?</style> /* STYLE */ N/A self removed_css raw N/A remove_comments N/A N/A self raw N/A N/A N/A N/A N/A self remove <!--.*?--> /* COMMENT */ N/A self removed_comments raw N/A reindent N/A N/A self raw match N/A N/A N/A prev_newline (?<=\n) N/A lowest_indent -1 N/A l N/A N/A re split \n raw N/A N/A indent N/A N/A len l N/A len N/A N/A l strip N/A N/A N/A lowest_indent -1 N/A lowest_indent indent N/A N/A lowest_indent indent N/A indent N/A N/A len N/A N/A match group 1 N/A self indent_char N/A N/A indent N/A N/A re sub prev_newline indent N/A N/A re sub N/A prev_newline N/A lowest_indent N/A self indent_char N/A N/A raw lstrip N/A getNextFrom N/A N/A self _list N/A N/A N/A it N/A iter _list N/A N/A N/A N/A match N/A N/A N/A self reindent N/A N/A it next match N/A replace N/A N/A self pattern replaceList raw N/A N/A N/A N/A N/A N/A N/A re compile N/A (?<=\n)(\s*?) pattern N/A N/A re S N/A re I sub N/A N/A self getNextFrom replaceList raw N/A replace_comments N/A N/A self raw N/A N/A N/A N/A N/A self replace /\* COMMENT \*/ N/A self removed_comments raw N/A replace_css N/A N/A self raw N/A N/A N/A N/A N/A self replace /\* STYLE \*/ N/A self removed_css raw N/A replace_js N/A N/A self raw N/A N/A N/A N/A N/A self replace /\* SCRIPT \*/ N/A self removed_js raw N/A beautify N/A N/A self N/A N/A N/A beautiful N/A replaceWithSpace N/A N/A self remove_newlines N/A raw N/A self source_text N/A raw N/A N/A self remove_js raw N/A raw N/A N/A self remove_css raw N/A raw N/A N/A self remove_comments raw N/A raw N/A N/A re sub (<[^! ]|(?<!/\*|//)\]\]>|(?<!<!\[endif\])-->) \n\1 raw N/A raw N/A N/A re sub (>|(?<!/\*|//)<!\[CDATA\[|<!--(?!\[if .+?\]>)) \1\n raw N/A raw N/A N/A re sub (\{{2,}(?:::)?)\s?(.*?)\s?(\}{2,}) \1 \2 \3 N/A N/A re sub \{(?:\s*\{)+\s?[\s\S]*?\s?\}(?:\s*\})+ N/A N/A self remove_newlines raw N/A raw N/A N/A re sub "[^"]*" replaceWithSpace raw N/A raw N/A N/A N/A N/A re compile (?<=\n)<(?!/).*?>(?=\n) N/A re S sub replaceWithSpace raw N/A raw N/A N/A N/A self singletons sub <\1\2/> raw N/A raw N/A N/A N/A self singletons sub replaceWithSpace raw N/A raw N/A N/A re sub (?<!\s)\s(?=/?>) raw N/A raw N/A N/A re sub \n{2,} \n raw N/A l N/A N/A re split raw N/A N/A l N/A N/A l strip N/A N/A l N/A N/A N/A N/A N/A re match </|]]>|(?:<!\[endif\])?--> l N/A N/A N/A self indent_level 1 N/A beautiful N/A N/A N/A self indent_char N/A self indent_level N/A self indent_size N/A N/A self expand_tags N/A N/A beautiful N/A N/A re sub ^<.*>$ N/A self expand_tag l N/A N/A beautiful l N/A beautiful N/A N/A N/A N/A self singletons search l N/A N/A N/A N/A N/A N/A re match <!--|<!\[CDATA\[|<[^/?! ] l N/A N/A N/A self indent_level 1 N/A N/A N/A N/A N/A self indent_level 0 N/A self exception_on_tag_mismatch N/A N/A N/A Exception Mismatched tags N/A N/A self reduce_empty_tags N/A N/A beautiful N/A N/A re sub <(\S+)([^>]*)>\s+</\1> <\1\2></\1> beautiful N/A beautiful N/A N/A self replace_comments beautiful N/A beautiful N/A N/A self replace_css beautiful N/A beautiful N/A N/A self replace_js beautiful N/A beautiful N/A N/A