CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Module Impl

INTERNAL: This module contains the customizable definition of LiteralExpr and should not be referenced directly.

Import path

import codeql.rust.elements.internal.LiteralExprImpl

Classes

BooleanLiteralExpr

A Boolean literal. Either true or false.

CharLiteralExpr

A [character literal][1]. For example:

FloatLiteralExpr

A [floating-point literal][1]. For example:

IntegerLiteralExpr

An [integer literal][1]. For example:

LiteralExpr

A literal expression. For example: rust 42; 42.0; "Hello, world!"; b"Hello, world!"; 'x'; b'x'; r"Hello, world!"; true;

NumberLiteralExpr

A number literal.

StringLiteralExpr

A [string literal][1]. For example: