llvm::RCToken

A single token from a Windows resource (.rc) script.

Synopsis

Declared in <llvm/WindowsResource/ResourceScriptToken.h>

class RCToken;

Description

Each token has a Kind and holds a value - a reference to the token's spelling in the input buffer. RCToken does not own that value; the memory buffer containing it must remain valid and must not be freed or reallocated while the token is in use.

Enums

NameDescription
Kind Classification of a resource-script token.

Member Functions

NameDescription
RCToken [constructor]Construct a token with the given kind and spelling.
intValue Return the numeric value of an integer token.
isBinaryOp Return true if this token is a binary operator.
isLongInt Return true if this integer token has a trailing L long-integer suffix.
kind Return the kind of this token.
value Return the token's spelling in the input buffer.