OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Precedence
(Results
1 - 7
of
7
) sorted by null
/external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp
184
unsigned
Precedence
; //
Precedence
if a binary op.
188
: Name(name), Args(args), isOperator(isoperator),
Precedence
(prec) {}
198
unsigned getBinaryPrecedence() const { return
Precedence
; }
226
/// BinopPrecedence - This holds the
precedence
for each binary operator that is
230
/// GetTokPrecedence - Get the
precedence
of the pending binary operator token.
405
// If this is a binop, find its
precedence
.
481
// Read the
precedence
if present.
925
// 1 is lowest
precedence
.
/external/v8/src/
preparser.cc
583
//
Precedence
= 1
599
//
Precedence
= 2
624
//
Precedence
= 3
645
int PreParser::
Precedence
(i::Token::Value tok, bool accept_IN) {
647
return 0; // 0
precedence
will terminate binary expression parsing
649
return i::Token::
Precedence
(tok);
653
//
Precedence
>= 4
658
for (int prec1 =
Precedence
(peek(), accept_IN); prec1 >= prec; prec1--) {
660
while (
Precedence
(peek(), accept_IN) == prec1) {
[
all
...]
preparser.h
266
static int
Precedence
(i::Token::Value tok, bool accept_IN);
token.h
37
// same signature M(name, string,
precedence
), where name is the
39
// (or NULL, for literals), and
precedence
is the
precedence
(or 0).
50
#define IGNORE_TOKEN(name, string,
precedence
)
89
/* Binary operators sorted by
precedence
. */ \
107
/* Compare operators sorted by
precedence
. */ \
183
#define T(name, string,
precedence
) name,
272
// Returns the
precedence
> 0 for binary and compare
274
static int
Precedence
(Value tok) {
parser.cc
[
all
...]
/external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp
200
unsigned
Precedence
; //
Precedence
if a binary op.
204
: Name(name), Args(args), isOperator(isoperator),
Precedence
(prec) {}
214
unsigned getBinaryPrecedence() const { return
Precedence
; }
244
/// BinopPrecedence - This holds the
precedence
for each binary operator that is
248
/// GetTokPrecedence - Get the
precedence
of the pending binary operator token.
470
// If this is a binop, find its
precedence
.
546
// Read the
precedence
if present.
1088
// 1 is lowest
precedence
.
[
all
...]
/external/llvm/lib/MC/MCParser/
AsmParser.cpp
189
bool ParseBinOpRHS(unsigned
Precedence
, const MCExpr *&Res, SMLoc &EndLoc);
813
// Lowest
Precedence
: &&, ||, @
822
// Low
Precedence
: |, &, ^
835
// Low Intermediate
Precedence
: ==, !=, <>, <, <=, >, >=
856
// High Intermediate
Precedence
: +, -
864
// Highest
Precedence
: *, /, %, <<, >>
884
/// ParseBinOpRHS - Parse all binary operators with
precedence
>= '
Precedence
'.
886
bool AsmParser::ParseBinOpRHS(unsigned
Precedence
, const MCExpr *&Res,
892
// If the next token is lower
precedence
than we are allowed to eat, retur
[
all
...]
Completed in 484 milliseconds