Home
last modified time | relevance | path

Searched refs:BinaryExpr (Results 1 – 25 of 101) sorted by relevance

12345

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DExprResolutionTest.java20 import com.github.javaparser.ast.expr.BinaryExpr;
67 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsDoubleAndByte()
84 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsByteAndDouble()
101 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsDoubleAndChar()
118 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsCharAndDouble()
135 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsDoubleAndInt()
152 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsIntAndDouble()
169 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsfloatAndByte()
186 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsByteAndfloat()
203 List<BinaryExpr> bExprs = compilationUnit.findAll(BinaryExpr.class); in typeOfPlusExpressionsfloatAndChar()
[all …]
/external/catch2/include/internal/
Dcatch_decomposer.h50 class BinaryExpr : public ITransientExpression {
61 BinaryExpr( bool comparisonResult, LhsT lhs, StringRef op, RhsT rhs ) in BinaryExpr() function
69 auto operator && ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
76 auto operator || ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
83 auto operator == ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
90 auto operator != ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
97 auto operator > ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
104 auto operator < ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
111 auto operator >= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
118 auto operator <= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_expr_BinaryExpr.txt1 …Line 65) setLeft(left) ==> com.github.javaparser.ast.expr.BinaryExpr.setLeft(com.github.javaparser…
2 …Line 66) setRight(right) ==> com.github.javaparser.ast.expr.BinaryExpr.setRight(com.github.javapar…
3 …ator(op) ==> com.github.javaparser.ast.expr.BinaryExpr.setOperator(com.github.javaparser.ast.expr.
4 …Line 72) setLeft(left) ==> com.github.javaparser.ast.expr.BinaryExpr.setLeft(com.github.javaparser…
5 …Line 73) setRight(right) ==> com.github.javaparser.ast.expr.BinaryExpr.setRight(com.github.javapar…
6 …ator(op) ==> com.github.javaparser.ast.expr.BinaryExpr.setOperator(com.github.javaparser.ast.expr.
7 …om.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.expr.BinaryExpr, A)
8 …> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.expr.BinaryExpr, A)
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DBinaryExpr.java46 public class BinaryExpr extends Expression { class
116 public BinaryExpr() { in BinaryExpr() method in BinaryExpr
121 public BinaryExpr(Expression left, Expression right, Operator operator) { in BinaryExpr() method in BinaryExpr
129 public BinaryExpr(TokenRange tokenRange, Expression left, Expression right, Operator operator) { in BinaryExpr() method in BinaryExpr
165 public BinaryExpr setLeft(final Expression left) { in setLeft()
168 return (BinaryExpr) this; in setLeft()
179 public BinaryExpr setOperator(final Operator operator) { in setOperator()
182 return (BinaryExpr) this; in setOperator()
190 public BinaryExpr setRight(final Expression right) { in setRight()
193 return (BinaryExpr) this; in setRight()
[all …]
DAssignExpr.java75 public Optional<BinaryExpr.Operator> toBinaryOperator() { in toBinaryOperator()
78 return Optional.of(BinaryExpr.Operator.PLUS); in toBinaryOperator()
80 return Optional.of(BinaryExpr.Operator.MINUS); in toBinaryOperator()
82 return Optional.of(BinaryExpr.Operator.MULTIPLY); in toBinaryOperator()
84 return Optional.of(BinaryExpr.Operator.DIVIDE); in toBinaryOperator()
86 return Optional.of(BinaryExpr.Operator.BINARY_AND); in toBinaryOperator()
88 return Optional.of(BinaryExpr.Operator.BINARY_OR); in toBinaryOperator()
90 return Optional.of(BinaryExpr.Operator.XOR); in toBinaryOperator()
92 return Optional.of(BinaryExpr.Operator.REMAINDER); in toBinaryOperator()
94 return Optional.of(BinaryExpr.Operator.LEFT_SHIFT); in toBinaryOperator()
[all …]
DExpression.java140 public BinaryExpr asBinaryExpr() { in asBinaryExpr()
445 public void ifBinaryExpr(Consumer<BinaryExpr> action) { in ifBinaryExpr()
593 public Optional<BinaryExpr> toBinaryExpr() { in toBinaryExpr()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DBinaryExpr.java31 public final class BinaryExpr extends Expression { class
61 public BinaryExpr() { in BinaryExpr() method in BinaryExpr
64 public BinaryExpr(Expression left, Expression right, Operator op) { in BinaryExpr() method in BinaryExpr
70 public BinaryExpr(Range range, Expression left, Expression right, Operator op) { in BinaryExpr() method in BinaryExpr
99 public BinaryExpr setLeft(Expression left) { in setLeft()
105 public BinaryExpr setOperator(Operator op) { in setOperator()
110 public BinaryExpr setRight(Expression right) { in setRight()
/external/starlark-go/syntax/
Dparse_test.go32 `(BinaryExpr X=x Op=+ Y=1)`},
42 `(BinaryExpr X=x Op=+ Y=(BinaryExpr X=y Op=* Y=z))`},
44 `(BinaryExpr X=(BinaryExpr X=x Op=% Y=y) Op=- Y=z)`},
46 `(BinaryExpr X=(BinaryExpr X=a Op=+ Y=b) Op=not in Y=c)`},
94 `(BinaryExpr X=(UnaryExpr Op=- X=1) Op=+ Y=(UnaryExpr Op=+ X=2))`},
96 `(BinaryExpr X="foo" Op=+ Y="bar")`},
98 `(BinaryExpr X=(UnaryExpr Op=- X=1) Op=* Y=2)`},
102 `(BinaryExpr X=(BinaryExpr X=a Op=| Y=(BinaryExpr X=b Op=& Y=c)) Op=| Y=d)`},
104 `(BinaryExpr X=(BinaryExpr X=a Op=or Y=(BinaryExpr X=b Op=and Y=c)) Op=or Y=d)`},
106 `(BinaryExpr X=(BinaryExpr X=a Op=and Y=b) Op=or Y=(BinaryExpr X=c Op=and Y=d))`},
[all …]
Dgrammar.txt46 | BinaryExpr
86 BinaryExpr = Test {Binop Test} .
Dsyntax.go221 func (*BinaryExpr) expr() {}
489 type BinaryExpr struct { struct
497 func (x *BinaryExpr) Span() (start, end Position) { argument
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/enumLiteralsInAnnotatedClass/foo/bar/differentpackage/
DAClass2.java3 import foo.bar.BinaryExpr;
6 static Object field1 = BinaryExpr.Operator.OR;
7 static Object field2 = foo.bar.BinaryExpr.Operator.AND;
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
DBinaryExpr.java30 public final class BinaryExpr extends Expression { class
60 public BinaryExpr() { in BinaryExpr() method in BinaryExpr
63 public BinaryExpr(Expression left, Expression right, Operator op) { in BinaryExpr() method in BinaryExpr
69 …public BinaryExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression left, Exp… in BinaryExpr() method in BinaryExpr
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp240 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isHiImm16() local
242 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16()
277 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16() local
279 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16()
301 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16Signed() local
303 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16Signed()
352 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) { in isLoImm21() local
354 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm21()
357 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21()
478 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands() local
[all …]
/external/llvm-project/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp242 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isHiImm16() local
244 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16()
279 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16() local
281 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16()
303 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16Signed() local
305 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16Signed()
354 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) { in isLoImm21() local
356 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm21()
359 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21()
480 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands() local
[all …]
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp225 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isHiImm16() local
227 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16()
262 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16() local
264 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16()
286 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16Signed() local
288 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16Signed()
337 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) { in isLoImm21() local
339 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm21()
342 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21()
462 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_expr_BinaryExpr.txt2 [ Class com.github.javaparser.ast.expr.BinaryExpr ]
20 Line 91) op ==> com.github.javaparser.ast.expr.BinaryExpr.Operator
24 Line 104) this.op = op ==> com.github.javaparser.ast.expr.BinaryExpr.Operator
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/enumLiteralsInAnnotatedClass/foo/bar/
DAClass.java4 static Object field1 = BinaryExpr.Operator.OR;
5 static Object field2 = foo.bar.BinaryExpr.Operator.AND;
DBinaryExpr.java3 public interface BinaryExpr { interface
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/stmt/
DBreakStmtTest.java3 import com.github.javaparser.ast.expr.BinaryExpr;
27 assertEquals(BinaryExpr.class, statement.getValue().get().getClass()); in breakWithExpression()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
DModifierVisitorGenerator.java5 import com.github.javaparser.ast.expr.BinaryExpr;
50 if(node.is(BinaryExpr.class)){ in generateVisitMethodBody()
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj1505 …" right = ConditionalAndExpression() { ret = new BinaryExpr(range(ret, token()), ret, right, Binar…
1515 …"&&" right = InclusiveOrExpression() { ret = new BinaryExpr(range(ret, token()), ret, right, Binar…
1525 … "|" right = ExclusiveOrExpression() { ret = new BinaryExpr(range(ret, token()), ret, right, Binar…
1535 …sion() ( "^" right = AndExpression() { ret = new BinaryExpr(range(ret, token()), ret, right, Binar…
1545 …) ( "&" right = EqualityExpression() { ret = new BinaryExpr(range(ret, token()), ret, right, Binar…
1553 BinaryExpr.Operator op;
1558 ( "==" { op = BinaryExpr.Operator.EQUALS; } |
1559 "!=" { op = BinaryExpr.Operator.NOT_EQUALS; }
1560 ) right = InstanceOfExpression() { ret = new BinaryExpr(range(ret, token()), ret, right, op); }
1582 BinaryExpr.Operator op;
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DBinaryExprMetaModel.java8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.expr.BinaryExpr.class, "BinaryExpr", "com.… in BinaryExprMetaModel()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/expr/
DBinaryExprTest.java10 assertEquals(AssignExpr.Operator.PLUS, BinaryExpr.Operator.PLUS.toAssignOperator().get()); in convertOperator()
DAssignExprTest.java10 assertEquals(BinaryExpr.Operator.PLUS, AssignExpr.Operator.PLUS.toBinaryOperator().get()); in convertOperator()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParser.java2194 ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, Binary… in ConditionalOrExpression()
2215 ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, Binary… in ConditionalAndExpression()
2236 ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, Binary… in InclusiveOrExpression()
2257 ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, Binary… in ExclusiveOrExpression()
2278 ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, Binary… in AndExpression()
2285 BinaryExpr.Operator op; in EqualityExpression()
2302 op = BinaryExpr.Operator.equals; in EqualityExpression()
2307 op = BinaryExpr.Operator.notEquals; in EqualityExpression()
2316 ret = new BinaryExpr(range(ret.getBegin(), pos(token.endLine, token.endColumn)), ret, right, op); in EqualityExpression()
2340 BinaryExpr.Operator op; in RelationalExpression()
[all …]

12345