|
|
@ -76,6 +76,12 @@ public class SQLVerifyChecker extends SquidCheck<Grammar> { |
|
|
|
for (AstNode expr:astNodeList) { |
|
|
|
for (AstNode expr:astNodeList) { |
|
|
|
lists.add(expr.getToken().getValue()); |
|
|
|
lists.add(expr.getToken().getValue()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(astNodeList.size() == 0){ |
|
|
|
|
|
|
|
List<AstNode> descendants = astNode.getDescendants(CxxGrammarImpl.condition); |
|
|
|
|
|
|
|
for (AstNode desc:descendants) { |
|
|
|
|
|
|
|
lists.add(desc.getToken().getValue()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//获取表达是数据信息
|
|
|
|
//获取表达是数据信息
|
|
|
|