[#llvm-AsmToken] = xref:llvm.adoc[llvm]::AsmToken :relfileprefix: ../ :mrdocs: Target independent representation for an assembler token. == Synopsis Declared in `<llvm/MC/MCAsmMacro.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class AsmToken; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:llvm/AsmToken/TokenKind.adoc[`TokenKind`] | Kind of token recognized by the assembler lexer. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/AsmToken/2constructor-0a.adoc[`AsmToken`] [.small]#[constructor]# | Constructors | xref:llvm/AsmToken/dump.adoc[`dump`] | Dump a debug representation of this token to `OS.` | xref:llvm/AsmToken/getAPIntVal.adoc[`getAPIntVal`] | Return the arbitrary‐precision integer value of an integer or big‐num token. | xref:llvm/AsmToken/getEndLoc.adoc[`getEndLoc`] | Return the source location of the end of this token. | xref:llvm/AsmToken/getIdentifier.adoc[`getIdentifier`] | Get the identifier string for an identifier or string token. | xref:llvm/AsmToken/getIntVal.adoc[`getIntVal`] | Return the zero‐extended 64‐bit integer value of an integer token. | xref:llvm/AsmToken/getKind.adoc[`getKind`] | Return the kind of this token. | xref:llvm/AsmToken/getLoc.adoc[`getLoc`] | Return the source location of the start of this token. | xref:llvm/AsmToken/getLocRange.adoc[`getLocRange`] | Return the source range covering this token. | xref:llvm/AsmToken/getString.adoc[`getString`] | Get the string for the current token, this includes all characters (for example, the quotes on strings) in the token. | xref:llvm/AsmToken/getStringContents.adoc[`getStringContents`] | Get the contents of a string token (without quotes). | xref:llvm/AsmToken/is.adoc[`is`] | Return true if this token has kind `K.` | xref:llvm/AsmToken/isNot.adoc[`isNot`] | Return true if this token does not have kind `K.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#