Module Literal
Provides classes for modeling literals in the source code such as 0
, 'c'
or "string"
.
Import path
import semmle.code.cpp.exprs.Literal
Imports
Expr | Provides classes modeling C/C++ expressions. |
Classes
AggregateLiteral | A C/C++ aggregate literal. |
ArrayAggregateLiteral | A C/C++ aggregate literal that initializes an array |
ArrayOrVectorAggregateLiteral | A C/C++ aggregate literal that initializes an array or a GNU vector type. |
CharLiteral | A character literal. For example: |
ClassAggregateLiteral | A C/C++ aggregate literal that initializes a |
HexLiteral | A hexadecimal literal. |
LabelLiteral | A label literal, that is, a use of the ‘&&’ operator to take the address of a label for use in a computed goto statement. This is a non-standard C/C++ extension. |
Literal | A C/C++ literal. |
OctalLiteral | An octal literal. For example: |
StringLiteral | A string literal. For example: |
TextLiteral | A character literal or a string literal. |
VectorAggregateLiteral | A C/C++ aggregate literal that initializes a GNU vector type. |