OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Precedence
(Results
1 - 8
of
8
) 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/
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).
49
#define IGNORE_TOKEN(name, string,
precedence
)
90
/* Binary operators sorted by
precedence
. */ \
108
/* Compare operators sorted by
precedence
. */ \
187
#define T(name, string,
precedence
) name,
280
// Returns the
precedence
> 0 for binary and compare
282
static int
Precedence
(Value tok) {
preparser.cc
791
//
Precedence
= 1
807
//
Precedence
= 2
843
//
Precedence
= 3
864
int PreParser::
Precedence
(i::Token::Value tok, bool accept_IN) {
866
return 0; // 0
precedence
will terminate binary expression parsing
868
return i::Token::
Precedence
(tok);
872
//
Precedence
>= 4
877
for (int prec1 =
Precedence
(peek(), accept_IN); prec1 >= prec; prec1--) {
879
while (
Precedence
(peek(), accept_IN) == prec1) {
[
all
...]
preparser.h
633
static int
Precedence
(i::Token::Value tok, bool accept_IN);
parser.cc
[
all
...]
/external/clang/lib/Format/
TokenAnnotator.cpp
737
/// operator
precedence
.
742
/// \brief Parse expressions with the given operatore
precedence
.
743
void parse(int
Precedence
= 0) {
744
if (
Precedence
> prec::PointerToMember || Current == NULL)
760
// Consume operators with higher
precedence
.
761
parse(prec::Level(
Precedence
+ 1));
774
// At the end of the line or when an operator with higher
precedence
is
777
(CurrentPrecedence != 0 && CurrentPrecedence <
Precedence
)) {
802
if (CurrentPrecedence ==
Precedence
)
[
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
320
bool ParseBinOpRHS(unsigned
Precedence
, const MCExpr *&Res, SMLoc &EndLoc);
[
all
...]
Completed in 178 milliseconds