LLVM
8.0.1
include
llvm
WindowsResource
ResourceScriptTokenList.h
Go to the documentation of this file.
1
//===-- ResourceScriptTokenList.h -------------------------------*- C++-*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===---------------------------------------------------------------------===//
9
//
10
// This is a part of llvm-rc tokens header. It lists all the possible tokens
11
// that might occur in a correct .rc script.
12
//
13
//===---------------------------------------------------------------------===//
14
15
16
// Long tokens. They might consist of more than one character.
17
TOKEN
(
Invalid
)
// Invalid token. Should not occur in a valid script.
18
TOKEN
(
Int
)
// Integer (decimal, octal or hexadecimal).
19
TOKEN
(
String
)
// String value.
20
TOKEN
(
Identifier
)
// Script identifier (resource name or type).
21
22
// Short tokens. They usually consist of exactly one character.
23
// The definitions are of the form SHORT_TOKEN(TokenName, TokenChar).
24
// TokenChar is the one-character token representation occuring in the correct
25
// .rc scripts.
26
SHORT_TOKEN
(BlockBegin,
'{'
)
// Start of the script block; can also be BEGIN.
27
SHORT_TOKEN
(BlockEnd, '}')
// End of the block; can also be END.
28
SHORT_TOKEN
(
Comma
, ',')
// Comma - resource arguments separator.
29
SHORT_TOKEN
(Plus, '+')
// Addition operator.
30
SHORT_TOKEN
(Minus, '-')
// Subtraction operator.
31
SHORT_TOKEN
(Pipe, '|')
// Bitwise-OR operator.
32
SHORT_TOKEN
(Amp, '&')
// Bitwise-AND operator.
33
SHORT_TOKEN
(Tilde, '~')
// Bitwise-NOT operator.
34
SHORT_TOKEN
(LeftParen, '(')
// Left parenthesis in the script expressions.
35
SHORT_TOKEN
(RightParen, ')')
// Right parenthesis.
llvm::tgtok::Int
Definition:
TGLexer.h:49
TOKEN
TOKEN(Invalid) TOKEN(Int) TOKEN(String) TOKEN(Identifier) SHORT_TOKEN(BlockBegin
llvm::object::Comma
Definition:
COFFModuleDefinition.cpp:38
llvm::AArch64CC::Invalid
Definition:
AArch64BaseInfo.h:211
llvm::object::Identifier
Definition:
COFFModuleDefinition.cpp:37
llvm::pdb::String
Definition:
PDBTypes.h:347
SHORT_TOKEN
#define SHORT_TOKEN(Name, Ch)
Definition:
ResourceScriptToken.h:34
Generated on Sun Dec 20 2020 13:53:40 for LLVM by
1.8.13