Home
last modified time | relevance | path

Searched refs:IsOperator (Results 1 – 15 of 15) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Decmametadatapass.py393 (self._last_code.IsOperator(':') and
423 elif token.IsOperator('?'):
426 elif token.IsOperator(':'):
450 elif token.IsOperator(','):
Djavascripttokens.py116 def IsOperator(self, operator): member in JavaScriptToken
Dstatetracker.py1157 is_assigned = last_code and (last_code.IsOperator('=') or
1158 last_code.IsOperator('||') or last_code.IsOperator('&&') or
1159 (last_code.IsOperator(':') and not self.InObjectLiteral()))
Dscopeutil.py156 code_tokens[2].IsOperator('=')):
Dindentation.py236 token.IsAssignment() or token.IsOperator('?')):
395 elif token.IsOperator('?') and not token_info.overridden_by:
Djavascriptlintrules.py335 if previous_code and previous_code.IsOperator('='):
474 and not token.next.IsOperator(',')
Decmalintrules.py686 next_code.IsOperator('new')):
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp212 bool IsOperator; member in __anon7d54fca40111::PrototypeAST
217 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
218 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
223 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
224 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp231 bool IsOperator; member in __anonf1d16da50111::PrototypeAST
236 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
237 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
242 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
243 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp217 bool IsOperator = false, unsigned Precedence = 0) in PrototypeAST()
218 : Name(std::move(Name)), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
224 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
225 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
234 bool IsOperator; member
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp359 bool IsOperator; member in __anon664ddea60211::PrototypeAST
365 std::vector<std::string> Args, bool IsOperator = false, in PrototypeAST() argument
367 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
372 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
373 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp217 bool IsOperator = false, unsigned Precedence = 0) in PrototypeAST()
218 : Name(std::move(Name)), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
224 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
225 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
234 bool IsOperator; member
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp217 bool IsOperator = false, unsigned Precedence = 0) in PrototypeAST()
218 : Name(std::move(Name)), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
224 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
225 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
234 bool IsOperator; member
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp218 bool IsOperator = false, unsigned Precedence = 0) in PrototypeAST()
219 : Name(std::move(Name)), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
225 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
226 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
235 bool IsOperator; member
/external/llvm/docs/tutorial/
DLangImpl6.rst137 bool IsOperator;
142 bool IsOperator = false, unsigned Prec = 0)
143 : Name(name), Args(std::move(Args)), IsOperator(IsOperator),
146 bool isUnaryOp() const { return IsOperator && Args.size() == 1; }
147 bool isBinaryOp() const { return IsOperator && Args.size() == 2; }