Package com.strobel.decompiler.languages.java.ast

Examples of com.strobel.decompiler.languages.java.ast.AssignmentExpression


            final int checkPoint = match.getCheckPoint();

            while (current instanceof AssignmentExpression &&
                   ((AssignmentExpression) current).getOperator() == AssignmentOperatorType.ASSIGN) {

                final AssignmentExpression assignment = (AssignmentExpression) current;
                final Expression target = assignment.getLeft();

                if (!_targetPattern.matches(target, match)) {
                    assignments.clear();
                    match.restoreCheckPoint(checkPoint);
                    break;
                }

                assignments.addLast(assignment);
                current = assignment.getRight();
            }

            if (assignments.isEmpty() || !_valuePattern.matches(assignments.getLast().getRight(), match)) {
                match.restoreCheckPoint(checkPoint);
                return false;
View Full Code Here

TOP

Related Classes of com.strobel.decompiler.languages.java.ast.AssignmentExpression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.