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

Class Raw::AsmExpr

INTERNAL: Do not use. An inline assembly expression. For example:

unsafe {
    #[inline(always)]
    builtin # asm("cmp {0}, {1}", in(reg) a, in(reg) b);
}

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAsmPiece

Gets the indexth asm piece of this asm expression (0-based).

getAttr

Gets the indexth attr of this asm expression (0-based).

getNumberOfAsmPieces

Gets the number of asm pieces of this asm expression.

getNumberOfAttrs

Gets the number of attrs of this asm expression.

getNumberOfTemplates

Gets the number of templates of this asm expression.

getTemplate

Gets the indexth template of this asm expression (0-based).

toString

Inherited predicates

getAttributeMacroExpansion

Gets the attribute macro expansion of this item, if it exists.

from Item