/prebuilts/go/darwin-x86/src/go/token/ |
token.go | 243 // A set of constants for precedence-based expression parsing. 244 // Non-operators have lowest precedence, followed by operators 245 // starting with precedence 1 up to unary operators. The highest 246 // precedence serves as "catch-all" precedence for selector, 255 // Precedence returns the operator precedence of the binary 259 func (op Token) Precedence() int {
|
/prebuilts/go/linux-x86/src/go/token/ |
token.go | 243 // A set of constants for precedence-based expression parsing. 244 // Non-operators have lowest precedence, followed by operators 245 // starting with precedence 1 up to unary operators. The highest 246 // precedence serves as "catch-all" precedence for selector, 255 // Precedence returns the operator precedence of the binary 259 func (op Token) Precedence() int {
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 213 unsigned Precedence; // Precedence if a binary op. 219 Precedence(Prec) {} 231 unsigned getBinaryPrecedence() const { return Precedence; } 257 /// BinopPrecedence - This holds the precedence for each binary operator that is 261 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 461 // If this is a binop, find its precedence. 541 // Read the precedence if present. 1045 // 1 is lowest precedence.
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 232 unsigned Precedence; // Precedence if a binary op. 238 Precedence(Prec) {} 250 unsigned getBinaryPrecedence() const { return Precedence; } 276 /// BinopPrecedence - This holds the precedence for each binary operator that is 280 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 531 // If this is a binop, find its precedence. 611 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 218 unsigned Precedence; // Precedence if a binary op. 222 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 232 unsigned getBinaryPrecedence() const { return Precedence; } 262 /// BinopPrecedence - This holds the precedence for each binary operator that is 266 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 488 // If this is a binop, find its precedence. 564 // Read the precedence if present. [all...] |
toy.cpp | 225 unsigned Precedence; // Precedence if a binary op. 229 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 239 unsigned getBinaryPrecedence() const { return Precedence; } 269 /// BinopPrecedence - This holds the precedence for each binary operator that is 273 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 495 // If this is a binop, find its precedence. 571 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 203 unsigned Precedence; // Precedence if a binary op. 207 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 217 unsigned getBinaryPrecedence() const { return Precedence; } 247 /// BinopPrecedence - This holds the precedence for each binary operator that is 251 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 473 // If this is a binop, find its precedence. 549 // Read the precedence if present. 1110 // 1 is lowest precedence. [all...] |
toy.cpp | 204 unsigned Precedence; // Precedence if a binary op. 208 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 218 unsigned getBinaryPrecedence() const { return Precedence; } 248 /// BinopPrecedence - This holds the precedence for each binary operator that is 252 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 474 // If this is a binop, find its precedence. 550 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 360 unsigned Precedence; // Precedence if a binary op. 368 Precedence(Prec), Line(Loc.Line) {} 380 unsigned getBinaryPrecedence() const { return Precedence; } 413 /// BinopPrecedence - This holds the precedence for each binary operator that is 417 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 672 // If this is a binop, find its precedence. 755 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 244 unsigned Precedence; // Precedence if a binary op. 248 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 258 unsigned getBinaryPrecedence() const { return Precedence; } 288 /// BinopPrecedence - This holds the precedence for each binary operator that is 292 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 514 // If this is a binop, find its precedence. 590 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 202 unsigned Precedence; // Precedence if a binary op. 206 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 216 unsigned getBinaryPrecedence() const { return Precedence; } 246 /// BinopPrecedence - This holds the precedence for each binary operator that is 250 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 472 // If this is a binop, find its precedence. 548 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
toy.cpp | 218 bool IsOperator = false, unsigned Precedence = 0) 220 Precedence(Precedence) {} 236 unsigned Precedence; // Precedence if a binary op. 263 /// BinopPrecedence - This holds the precedence for each binary operator that is 267 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 508 // If this is a binop, find its precedence. 587 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
toy.cpp | 217 bool IsOperator = false, unsigned Precedence = 0) 219 Precedence(Precedence) {} 235 unsigned Precedence; // Precedence if a binary op. 262 /// BinopPrecedence - This holds the precedence for each binary operator that is 266 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 507 // If this is a binop, find its precedence. 586 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
toy.cpp | 217 bool IsOperator = false, unsigned Precedence = 0) 219 Precedence(Precedence) {} 235 unsigned Precedence; // Precedence if a binary op. 262 /// BinopPrecedence - This holds the precedence for each binary operator that is 266 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 507 // If this is a binop, find its precedence. 586 // Read the precedence if present. [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
toy.cpp | 217 bool IsOperator = false, unsigned Precedence = 0) 219 Precedence(Precedence) {} 235 unsigned Precedence; // Precedence if a binary op. 262 /// BinopPrecedence - This holds the precedence for each binary operator that is 266 /// GetTokPrecedence - Get the precedence of the pending binary operator token. 507 // If this is a binop, find its precedence. 586 // Read the precedence if present. [all...] |
/external/v8/src/parsing/ |
parser-base.h | 520 // Determine precedence of given token. 521 static int Precedence(Token::Value token, bool accept_IN) { 523 return 0; // 0 precedence will terminate binary expression parsing 524 return Token::Precedence(token); [all...] |