| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 library engine.constant; | 3 library engine.constant; |
| 4 import 'java_core.dart'; | 4 import 'java_core.dart'; |
| 5 import 'source.dart' show Source; | 5 import 'source.dart' show Source; |
| 6 import 'error.dart' show AnalysisError, ErrorCode, CompileTimeErrorCode; | 6 import 'error.dart' show AnalysisError, ErrorCode, CompileTimeErrorCode; |
| 7 import 'scanner.dart' show TokenType; | 7 import 'scanner.dart' show TokenType; |
| 8 import 'ast.dart'; | 8 import 'ast.dart'; |
| 9 import 'element.dart'; | 9 import 'element.dart'; |
| 10 import 'engine.dart' show AnalysisEngine; | 10 import 'engine.dart' show AnalysisEngine; |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 List<ErrorResult_ErrorData> _errors = new List<ErrorResult_ErrorData>(); | 712 List<ErrorResult_ErrorData> _errors = new List<ErrorResult_ErrorData>(); |
| 713 | 713 |
| 714 /** | 714 /** |
| 715 * Initialize a newly created result representing the error with the given cod
e reported against | 715 * Initialize a newly created result representing the error with the given cod
e reported against |
| 716 * the given node. | 716 * the given node. |
| 717 * | 717 * |
| 718 * @param node the node against which the error should be reported | 718 * @param node the node against which the error should be reported |
| 719 * @param errorCode the error code for the error to be generated | 719 * @param errorCode the error code for the error to be generated |
| 720 */ | 720 */ |
| 721 ErrorResult.con1(ASTNode node, ErrorCode errorCode) { | 721 ErrorResult.con1(ASTNode node, ErrorCode errorCode) { |
| 722 _jtd_constructor_174_impl(node, errorCode); | |
| 723 } | |
| 724 _jtd_constructor_174_impl(ASTNode node, ErrorCode errorCode) { | |
| 725 _errors.add(new ErrorResult_ErrorData(node, errorCode)); | 722 _errors.add(new ErrorResult_ErrorData(node, errorCode)); |
| 726 } | 723 } |
| 727 | 724 |
| 728 /** | 725 /** |
| 729 * Initialize a newly created result to represent the union of the errors in t
he given result | 726 * Initialize a newly created result to represent the union of the errors in t
he given result |
| 730 * objects. | 727 * objects. |
| 731 * | 728 * |
| 732 * @param firstResult the first set of results being merged | 729 * @param firstResult the first set of results being merged |
| 733 * @param secondResult the second set of results being merged | 730 * @param secondResult the second set of results being merged |
| 734 */ | 731 */ |
| 735 ErrorResult.con2(ErrorResult firstResult, ErrorResult secondResult) { | 732 ErrorResult.con2(ErrorResult firstResult, ErrorResult secondResult) { |
| 736 _jtd_constructor_175_impl(firstResult, secondResult); | |
| 737 } | |
| 738 _jtd_constructor_175_impl(ErrorResult firstResult, ErrorResult secondResult) { | |
| 739 _errors.addAll(firstResult._errors); | 733 _errors.addAll(firstResult._errors); |
| 740 _errors.addAll(secondResult._errors); | 734 _errors.addAll(secondResult._errors); |
| 741 } | 735 } |
| 742 EvaluationResultImpl add(BinaryExpression node, EvaluationResultImpl rightOper
and) => rightOperand.addToError(node, this); | 736 EvaluationResultImpl add(BinaryExpression node, EvaluationResultImpl rightOper
and) => rightOperand.addToError(node, this); |
| 743 EvaluationResultImpl bitAnd(BinaryExpression node, EvaluationResultImpl rightO
perand) => rightOperand.bitAndError(node, this); | 737 EvaluationResultImpl bitAnd(BinaryExpression node, EvaluationResultImpl rightO
perand) => rightOperand.bitAndError(node, this); |
| 744 EvaluationResultImpl bitNot(Expression node) => this; | 738 EvaluationResultImpl bitNot(Expression node) => this; |
| 745 EvaluationResultImpl bitOr(BinaryExpression node, EvaluationResultImpl rightOp
erand) => rightOperand.bitOrError(node, this); | 739 EvaluationResultImpl bitOr(BinaryExpression node, EvaluationResultImpl rightOp
erand) => rightOperand.bitOrError(node, this); |
| 746 EvaluationResultImpl bitXor(BinaryExpression node, EvaluationResultImpl rightO
perand) => rightOperand.bitXorError(node, this); | 740 EvaluationResultImpl bitXor(BinaryExpression node, EvaluationResultImpl rightO
perand) => rightOperand.bitXorError(node, this); |
| 747 EvaluationResultImpl concatenate(Expression node, EvaluationResultImpl rightOp
erand) => rightOperand.concatenateError(node, this); | 741 EvaluationResultImpl concatenate(Expression node, EvaluationResultImpl rightOp
erand) => rightOperand.concatenateError(node, this); |
| 748 EvaluationResultImpl divide(BinaryExpression node, EvaluationResultImpl rightO
perand) => rightOperand.divideError(node, this); | 742 EvaluationResultImpl divide(BinaryExpression node, EvaluationResultImpl rightO
perand) => rightOperand.divideError(node, this); |
| (...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1732 ValidResult valueOf3(double value) => new ValidResult(value); | 1726 ValidResult valueOf3(double value) => new ValidResult(value); |
| 1733 | 1727 |
| 1734 /** | 1728 /** |
| 1735 * Return a result object representing the given value. | 1729 * Return a result object representing the given value. |
| 1736 * | 1730 * |
| 1737 * @param value the value to be represented as a result object | 1731 * @param value the value to be represented as a result object |
| 1738 * @return a result object representing the given value | 1732 * @return a result object representing the given value |
| 1739 */ | 1733 */ |
| 1740 ValidResult valueOf4(String value) => new ValidResult(value); | 1734 ValidResult valueOf4(String value) => new ValidResult(value); |
| 1741 } | 1735 } |
| OLD | NEW |