mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
JS: make use of getUnderlyingValue
This commit is contained in:
@@ -127,10 +127,7 @@ module SyntacticConstants {
|
||||
class WrappedConstant extends SyntacticConstant {
|
||||
|
||||
WrappedConstant() {
|
||||
stripParens() instanceof SyntacticConstant or
|
||||
this.(SeqExpr).getLastOperand() instanceof SyntacticConstant or
|
||||
this.(TypeAssertion).getExpression() instanceof SyntacticConstant or
|
||||
this.(Assignment).getRhs() instanceof SyntacticConstant
|
||||
getUnderlyingValue() instanceof SyntacticConstant
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user