Files
codeql/powershell/ql/lib/semmle/code/powershell/StringConstantExpression.qll

11 lines
402 B
Plaintext

import powershell
class StringConstExpr extends @string_constant_expression, BaseConstExpr {
StringLiteral getValue() { string_constant_expression(this, result) }
/** Get the full string literal with all its parts concatenated */
override string toString() { result = this.getValue().toString() }
override SourceLocation getLocation() { string_constant_expression_location(this, result) }
}