mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
Fix complex symbols having multiple ControlFlowTree implementations
This commit is contained in:
@@ -969,7 +969,7 @@ module Trees {
|
||||
}
|
||||
}
|
||||
|
||||
private class MethodNameTree extends LeafTree, MethodName { }
|
||||
private class MethodNameTree extends LeafTree, MethodName, ASTInternal::TTokenMethodName { }
|
||||
|
||||
private class MethodTree extends BodyStmtTree, PostOrderTree, Method {
|
||||
final override predicate first(AstNode first) { first = this }
|
||||
@@ -1276,6 +1276,10 @@ module Trees {
|
||||
override predicate isHidden() { any() }
|
||||
}
|
||||
|
||||
private class StringEscapeSequenceComponentTree extends LeafTree, StringEscapeSequenceComponent {
|
||||
override predicate isHidden() { any() }
|
||||
}
|
||||
|
||||
private class StringlikeLiteralTree extends StandardPostOrderTree, StringlikeLiteral {
|
||||
StringlikeLiteralTree() { not this instanceof HereDoc }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user