Home
last modified time | relevance | path

Searched refs:UnaryExpr (Results 1 – 25 of 84) sorted by relevance

1234

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DUnaryExpr.java50 public class UnaryExpr extends Expression implements NodeWithExpression<UnaryExpr> { class
89 public UnaryExpr() { in UnaryExpr() method in UnaryExpr
94 public UnaryExpr(final Expression expression, final Operator operator) { in UnaryExpr() method in UnaryExpr
102 public UnaryExpr(TokenRange tokenRange, Expression expression, Operator operator) { in UnaryExpr() method in UnaryExpr
132 public UnaryExpr setExpression(final Expression expression) { in setExpression()
135 return (UnaryExpr) this; in setExpression()
146 public UnaryExpr setOperator(final Operator operator) { in setOperator()
149 return (UnaryExpr) this; in setOperator()
176 public UnaryExpr clone() { in clone()
177 return (UnaryExpr) accept(new CloneVisitor(), null); in clone()
[all …]
DExpression.java410 public UnaryExpr asUnaryExpr() { in asUnaryExpr()
553 public void ifUnaryExpr(Consumer<UnaryExpr> action) { in ifUnaryExpr()
728 public Optional<UnaryExpr> toUnaryExpr() { in toUnaryExpr()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_expr_UnaryExpr.txt1 …Line 52) setExpr(expr) ==> com.github.javaparser.ast.expr.UnaryExpr.setExpr(com.github.javaparser.…
2 …rator(op) ==> com.github.javaparser.ast.expr.UnaryExpr.setOperator(com.github.javaparser.ast.expr.
3 …Line 58) setExpr(expr) ==> com.github.javaparser.ast.expr.UnaryExpr.setExpr(com.github.javaparser.…
4 …rator(op) ==> com.github.javaparser.ast.expr.UnaryExpr.setOperator(com.github.javaparser.ast.expr.
5 …com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.expr.UnaryExpr, A)
6 …=> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.expr.UnaryExpr, A)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DUnaryExpr.java31 public final class UnaryExpr extends Expression { class
48 public UnaryExpr() { in UnaryExpr() method in UnaryExpr
51 public UnaryExpr(final Expression expr, final Operator op) { in UnaryExpr() method in UnaryExpr
56 public UnaryExpr(final Range range, final Expression expr, final Operator op) { in UnaryExpr() method in UnaryExpr
78 public UnaryExpr setExpr(final Expression expr) { in setExpr()
84 public UnaryExpr setOperator(final Operator op) { in setOperator()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
DUnaryExpr.java30 public final class UnaryExpr extends Expression { class
47 public UnaryExpr() { in UnaryExpr() method in UnaryExpr
50 public UnaryExpr(final Expression expr, final Operator op) { in UnaryExpr() method in UnaryExpr
55 …public UnaryExpr(final int beginLine, final int beginColumn, final int endLine, final int endColum… in UnaryExpr() method in UnaryExpr
/external/starlark-go/syntax/
Dparse_test.go48 `(LambdaExpr Params=(x (UnaryExpr Op=* X=args) (UnaryExpr Op=** X=kwargs)) Body=None)`},
94 `(BinaryExpr X=(UnaryExpr Op=- X=1) Op=+ Y=(UnaryExpr Op=+ X=2))`},
98 `(BinaryExpr X=(UnaryExpr Op=- X=1) Op=* Y=2)`},
100 `(UnaryExpr Op=- X=(IndexExpr X=x Y=i))`},
110 `(CallExpr Fn=f Args=((UnaryExpr Op=* X=args) (UnaryExpr Op=** X=kwargs)))`},
112 …`(LambdaExpr Params=((UnaryExpr Op=* X=args) (UnaryExpr Op=*) (BinaryExpr X=x Op== Y=1) (UnaryExpr
114 `(LambdaExpr Params=((UnaryExpr Op=*) a (UnaryExpr Op=* X=b)) Body=0)`},
118 `(BinaryExpr X=a Op=and Y=(UnaryExpr Op=not X=b))`},
177 …`(DefStmt Name=f Params=(x (UnaryExpr Op=* X=args) (UnaryExpr Op=** X=kwargs)) Body=((BranchStmt T…
179 …`(DefStmt Name=f Params=((UnaryExpr Op=** X=kwargs) (UnaryExpr Op=* X=args)) Body=((BranchStmt Tok…
Dgrammar.txt45 | UnaryExpr
84 UnaryExpr = 'not' Test .
Dsyntax.go236 func (*UnaryExpr) expr() {}
467 type UnaryExpr struct { struct
474 func (x *UnaryExpr) Span() (start, end Position) { argument
Dparse.go451 params = append(params, &UnaryExpr{
577 return &UnaryExpr{
740 args = append(args, &UnaryExpr{
828 return &UnaryExpr{
Dwalk.go127 case *UnaryExpr:
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_expr_UnaryExpr.txt2 [ Class com.github.javaparser.ast.expr.UnaryExpr ]
18 Line 75) op ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
21 Line 84) this.op = op ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
Dcom_github_javaparser_ast_visitor_DumpVisitor.txt532 Line 917) n.getOperator() ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
533 Line 918) positive ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
535 Line 921) negative ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
537 Line 924) inverse ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
539 Line 927) not ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
541 Line 930) preIncrement ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
543 Line 933) preDecrement ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
546 Line 941) n.getOperator() ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
547 Line 942) posIncrement ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
549 Line 945) posDecrement ==> com.github.javaparser.ast.expr.UnaryExpr.Operator
/external/catch2/include/internal/
Dcatch_decomposer.h126 class UnaryExpr : public ITransientExpression {
134 explicit UnaryExpr( LhsT lhs ) in UnaryExpr() function
218 auto makeUnaryExpr() const -> UnaryExpr<LhsT> {
219 return UnaryExpr<LhsT>{ m_lhs };
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DUnaryExprMetaModel.java8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.expr.UnaryExpr.class, "UnaryExpr", "com.gi… in UnaryExprMetaModel()
/external/python/jinja/src/jinja2/
Dnodes.py435 class UnaryExpr(Expr): class
871 class Not(UnaryExpr):
877 class Neg(UnaryExpr):
883 class Pos(UnaryExpr):
/external/libchrome/third_party/jinja2/
Dnodes.py434 class UnaryExpr(Expr): class
850 class Not(UnaryExpr):
855 class Neg(UnaryExpr):
860 class Pos(UnaryExpr):
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj1649 UnaryExpr.Operator op;
1658 ( "+" { op = UnaryExpr.Operator.PLUS; begin=token();} |
1659 "-" { op = UnaryExpr.Operator.MINUS; begin=token();}
1662 ret = new UnaryExpr(range(begin, token()), ret, op);
1676 …{begin=token();} ret = UnaryExpression() { ret = new UnaryExpr(range(begin, token()), ret, UnaryEx…
1686 …{begin=token();} ret = UnaryExpression() { ret = new UnaryExpr(range(begin, token()), ret, UnaryEx…
1693 UnaryExpr.Operator op;
1699 "~" { op = UnaryExpr.Operator.BITWISE_COMPLEMENT; begin=token(); } |
1700 "!" { op = UnaryExpr.Operator.LOGICAL_COMPLEMENT; begin=token(); }
1701 ) ret = UnaryExpression() { ret = new UnaryExpr(range(begin, token()), ret, op); }
[all …]
/external/starlark-go/resolve/
Dresolve.go705 case *syntax.UnaryExpr:
723 if unop, ok := arg.(*syntax.UnaryExpr); ok && unop.Op == syntax.STARSTAR {
812 var star *syntax.UnaryExpr // * or *args param
842 case *syntax.UnaryExpr:
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParser.java2507 UnaryExpr.Operator op; in UnaryExpression()
2523 op = UnaryExpr.Operator.positive; begin=tokenBegin(); in UnaryExpression()
2528 op = UnaryExpr.Operator.negative; begin=tokenBegin(); in UnaryExpression()
2537 if(op == UnaryExpr.Operator.negative) { in UnaryExpression()
2543 ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); in UnaryExpression()
2546 ret = new UnaryExpr(range(begin, tokenEnd()), ret, op); in UnaryExpression()
2590 ret = new UnaryExpr(range(begin, tokenEnd()), ret, UnaryExpr.Operator.preIncrement); in PreIncrementExpression()
2599 ret = new UnaryExpr(range(begin, tokenEnd()), ret, UnaryExpr.Operator.preDecrement); in PreDecrementExpression()
2604 UnaryExpr.Operator op; in UnaryExpressionNotPlusMinus()
2612 op = UnaryExpr.Operator.inverse; begin=tokenBegin(); in UnaryExpressionNotPlusMinus()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUseAfterMoveCheck.cpp33 if (const auto *UnaryExpr = dyn_cast<UnaryExprOrTypeTraitExpr>(&Node)) { in AST_MATCHER() local
34 switch (UnaryExpr->getKind()) { in AST_MATCHER()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DASTParser.java2560 UnaryExpr.Operator op; in UnaryExpression()
2575 op = UnaryExpr.Operator.positive; line=token.beginLine; column=token.beginColumn; in UnaryExpression()
2579 op = UnaryExpr.Operator.negative; line=token.beginLine; column=token.beginColumn; in UnaryExpression()
2587 if(op == UnaryExpr.Operator.negative) { in UnaryExpression()
2593 … ret = new UnaryExpr(line, column, token.endLine, token.endColumn,ret, op); in UnaryExpression()
2596 ret = new UnaryExpr(line, column, token.endLine, token.endColumn,ret, op); in UnaryExpression()
2641 …ret = new UnaryExpr(line, column, token.endLine, token.endColumn,ret, UnaryExpr.Operator.preIncrem… in PreIncrementExpression()
2653 …ret = new UnaryExpr(line, column, token.endLine, token.endColumn,ret, UnaryExpr.Operator.preDecrem… in PreDecrementExpression()
2660 UnaryExpr.Operator op; in UnaryExpressionNotPlusMinus()
2669 op = UnaryExpr.Operator.inverse; line=token.beginLine; column=token.beginColumn; in UnaryExpressionNotPlusMinus()
[all …]
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParser.java2679 UnaryExpr.Operator op; in UnaryExpression()
2695 op = UnaryExpr.Operator.PLUS; begin=token(); in UnaryExpression()
2700 op = UnaryExpr.Operator.MINUS; begin=token(); in UnaryExpression()
2709 ret = new UnaryExpr(range(begin, token()), ret, op); in UnaryExpression()
2766 ret = new UnaryExpr(range(begin, token()), ret, UnaryExpr.Operator.PREFIX_INCREMENT); in PreIncrementExpression()
2775 ret = new UnaryExpr(range(begin, token()), ret, UnaryExpr.Operator.PREFIX_DECREMENT); in PreDecrementExpression()
2780 UnaryExpr.Operator op; in UnaryExpressionNotPlusMinus()
2788 op = UnaryExpr.Operator.BITWISE_COMPLEMENT; begin=token(); in UnaryExpressionNotPlusMinus()
2793 op = UnaryExpr.Operator.LOGICAL_COMPLEMENT; begin=token(); in UnaryExpressionNotPlusMinus()
2802 ret = new UnaryExpr(range(begin, token()), ret, op); in UnaryExpressionNotPlusMinus()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DEqualsVisitor.java78 import com.github.javaparser.ast.expr.UnaryExpr;
1094 @Override public Boolean visit(final UnaryExpr n1, final Node arg) { in visit()
1095 final UnaryExpr n2 = (UnaryExpr) arg; in visit()
/external/javaparser/javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DMetaModelGenerator.java108 add(UnaryExpr.class);
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogic.java245 if (whenParentIs(UnaryExpr.class, name, (p, c) -> p.getExpression() == c)) { in classifyRole()
891 nameExpr.getName() == c && whenParentIs(UnaryExpr.class, nameExpr, (ne, c2) -> in isSyntacticallyAnExpressionName()
896 if (whenParentIs(UnaryExpr.class, name, (ne, c2) -> in isSyntacticallyAnExpressionName()

1234