Module Aliases
Provides aliases for commonly used classes that have different names in the QL libraries for other languages.
Import path
import semmle.javascript.Aliases
Imports
javascript | Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML. |
Predicates
arraySize | Alias for the predicate |
charClassEscape | Alias for the predicate |
enclosingStmt | Alias for the predicate |
exprContainers | Alias for the predicate |
hasAssertsKeyword | Alias for the predicate |
hasDeclareKeyword | Alias for the predicate |
hasDefiniteAssignmentAssertion | Alias for the predicate |
hasPrivateKeyword | Alias for the predicate |
hasProtectedKeyword | Alias for the predicate |
hasPublicKeyword | Alias for the predicate |
hasReadonlyKeyword | Alias for the predicate |
hasRestParameter | Alias for the predicate |
hasTypeKeyword | Alias for the predicate |
isAbstractClass | Alias for the predicate |
isAbstractMember | Alias for the predicate |
isArgumentsObject | Alias for the predicate |
isAsync | Alias for the predicate |
isCapture | Alias for the predicate |
isClosureModule | Alias for the predicate |
isComputed | Alias for the predicate |
isConstEnum | Alias for the predicate |
isDelegating | Alias for the predicate |
isES2015Module | Alias for the predicate |
isExterns | Alias for the predicate |
isForAwaitOf | Alias for the predicate |
isGenerator | Alias for the predicate |
isGreedy | Alias for the predicate |
isInstantiated | Alias for the predicate |
isInverted | Alias for the predicate |
isMethod | Alias for the predicate |
isModule | Alias for the predicate |
isNamedCapture | Alias for the predicate |
isNodejs | Alias for the predicate |
isOptionalMember | Alias for the predicate |
isOptionalParameterDeclaration | Alias for the predicate |
isStatic | Alias for the predicate |
jsParseErrors | Alias for the predicate |
jumpTargets | Alias for the predicate |
namedBackref | Alias for the predicate |
rangeQuantifierLowerBound | Alias for the predicate |
rangeQuantifierUpperBound | Alias for the predicate |
regexpConstValue | Alias for the predicate |
regexpParseErrors | Alias for the predicate |
stmtContainers | Alias for the predicate |
unicodePropertyEscapeName | Alias for the predicate |
unicodePropertyEscapeValue | Alias for the predicate |
Aliases
AndBitwiseExpr | A bitwise ‘and’ expression. |
AndLogicalExpr | A logical ‘and’ expression. |
ArrayAccess | An index expression (also known as computed property access). |
AssignOp | A compound assign expression. |
Block | DEPRECATED: The name |
BoolLiteral | A Boolean literal, that is, either |
CaseStmt | A |
ComparisonOperation | A comparison expression, that is, either an equality test ( |
DoStmt | A |
EqualityOperation | An equality test using |
FieldAccess | A dot expression. |
InstanceOfExpr | An |
LabelStmt | A labeled statement. |
LogicalAndExpr | A logical ‘and’ expression. |
LogicalNotExpr | A logical negation expression. |
LogicalOrExpr | A logical ‘or’ expression. |
Loop | A loop, that is, is a while loop, a do-while loop, a for loop, or a for-in loop. |
MultilineComment | A block comment (which may be a JSDoc comment). |
OrBitwiseExpr | A bitwise ‘or’ expression. |
OrLogicalExpr | A logical ‘or’ expression. |
ParenthesisExpr | A parenthesized expression. |
ParenthesizedExpr | A parenthesized expression. |
RelationalOperation | A relational comparison using |
RemExpr | A modulo expression. |
SingleLineComment | A line comment, that is, either an HTML comment or a |
SuperAccess | A |
SwitchCase | A |
ThisAccess | A |
VariableAccess | An identifier that refers to a variable in a non-declaring position. |
XorBitwiseExpr | An exclusive ‘or’ expression. |