Spaces:
Running
Running
rmayormartins
commited on
Commit
·
dcaa7bc
1
Parent(s):
1ccf583
teste
Browse files
app.py
CHANGED
@@ -237,7 +237,7 @@ class EnhancedJavaPOOEvaluator:
|
|
237 |
try:
|
238 |
tree = javalang.parse.parse(code)
|
239 |
|
240 |
-
# Análise de classes e objetos
|
241 |
analysis["classes"] = [node for _, node in tree.filter(javalang.tree.ClassDeclaration)]
|
242 |
analysis["objects"] = [node for _, node in tree.filter(javalang.tree.VariableDeclarator)
|
243 |
if isinstance(node.initializer, javalang.tree.ClassCreator)]
|
|
|
237 |
try:
|
238 |
tree = javalang.parse.parse(code)
|
239 |
|
240 |
+
# Análise de classes e objetos check
|
241 |
analysis["classes"] = [node for _, node in tree.filter(javalang.tree.ClassDeclaration)]
|
242 |
analysis["objects"] = [node for _, node in tree.filter(javalang.tree.VariableDeclarator)
|
243 |
if isinstance(node.initializer, javalang.tree.ClassCreator)]
|