<commit_before>private
privateStyle: aText 
    | ast |

    ast := self parse: aText isMethod: workspace isNil.
    ast methodNode compilationContext: (CompilationContext new
            class: (classOrMetaClass ifNil: [UndefinedObject]);
				forSyntaxHighlighting: true;
				bindings: workspace;
            requestor: workspace).
    ast doSemanticAnalysis.


   self style: aText ast: ast.
	self extraStyle: aText ast: ast.

    ^ aText<commit_msg>[styler] compatibility with Pharo 7.0 compiler<commit_after>private
privateStyle: aText 
    | ast |

    ast := self parse: aText isMethod: workspace isNil.
    ast methodNode compilationContext: (CompilationContext new
            class: (classOrMetaClass ifNil: [UndefinedObject]);
				forSyntaxHighlighting: true;
				bindings: (workspace ifNil: [ Dictionary new ]);
            requestor: workspace).
    ast doSemanticAnalysis.


   self style: aText ast: ast.
	self extraStyle: aText ast: ast.

    ^ aText
{'fraction_non_alphanumeric': 0.08082901554404145, 'fraction_numerical': 0.002072538860103627, 'mean_word_length': 3.236842105263158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '982517', 'n_tokens_mistral': 296, 'n_tokens_neox': 269, 'n_words': 85}