A single token from a Windows resource (.rc) script.
Declared in <llvm/WindowsResource/ResourceScriptToken.h>
class RCToken;
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.
| Name | Description |
|---|---|
Kind | Classification of a resource-script token. |
| Name | Description |
|---|---|
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. |