Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(909)

Side by Side Diff: pkg/analyzer_experimental/lib/src/generated/constant.dart

Issue 12604020: analyzer_experimental checkpoint and AnalysisContext example. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't mark Source as 'changed'. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 3
4 library engine.constant; 4 library engine.constant;
5 5
6 import 'java_core.dart'; 6 import 'java_core.dart';
7 import 'source.dart' show Source; 7 import 'source.dart' show Source;
8 import 'error.dart' show AnalysisError, ErrorCode, CompileTimeErrorCode; 8 import 'error.dart' show AnalysisError, ErrorCode, CompileTimeErrorCode;
9 import 'scanner.dart' show TokenType; 9 import 'scanner.dart' show TokenType;
10 import 'ast.dart'; 10 import 'ast.dart';
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 * The errors that prevent the expression from being a valid compile time cons tant. 356 * The errors that prevent the expression from being a valid compile time cons tant.
357 */ 357 */
358 List<ErrorResult_ErrorData> _errors = new List<ErrorResult_ErrorData>(); 358 List<ErrorResult_ErrorData> _errors = new List<ErrorResult_ErrorData>();
359 /** 359 /**
360 * Initialize a newly created result representing the error with the given cod e reported against 360 * Initialize a newly created result representing the error with the given cod e reported against
361 * the given node. 361 * the given node.
362 * @param node the node against which the error should be reported 362 * @param node the node against which the error should be reported
363 * @param errorCode the error code for the error to be generated 363 * @param errorCode the error code for the error to be generated
364 */ 364 */
365 ErrorResult.con1(ASTNode node, ErrorCode errorCode) { 365 ErrorResult.con1(ASTNode node, ErrorCode errorCode) {
366 _jtd_constructor_156_impl(node, errorCode); 366 _jtd_constructor_158_impl(node, errorCode);
367 } 367 }
368 _jtd_constructor_156_impl(ASTNode node, ErrorCode errorCode) { 368 _jtd_constructor_158_impl(ASTNode node, ErrorCode errorCode) {
369 _errors.add(new ErrorResult_ErrorData(node, errorCode)); 369 _errors.add(new ErrorResult_ErrorData(node, errorCode));
370 } 370 }
371 /** 371 /**
372 * Initialize a newly created result to represent the union of the errors in t he given result 372 * Initialize a newly created result to represent the union of the errors in t he given result
373 * objects. 373 * objects.
374 * @param firstResult the first set of results being merged 374 * @param firstResult the first set of results being merged
375 * @param secondResult the second set of results being merged 375 * @param secondResult the second set of results being merged
376 */ 376 */
377 ErrorResult.con2(ErrorResult firstResult, ErrorResult secondResult) { 377 ErrorResult.con2(ErrorResult firstResult, ErrorResult secondResult) {
378 _jtd_constructor_157_impl(firstResult, secondResult); 378 _jtd_constructor_159_impl(firstResult, secondResult);
379 } 379 }
380 _jtd_constructor_157_impl(ErrorResult firstResult, ErrorResult secondResult) { 380 _jtd_constructor_159_impl(ErrorResult firstResult, ErrorResult secondResult) {
381 _errors.addAll(firstResult._errors); 381 _errors.addAll(firstResult._errors);
382 _errors.addAll(secondResult._errors); 382 _errors.addAll(secondResult._errors);
383 } 383 }
384 EvaluationResultImpl add(BinaryExpression node, EvaluationResultImpl rightOper and) => rightOperand.addToError(node, this); 384 EvaluationResultImpl add(BinaryExpression node, EvaluationResultImpl rightOper and) => rightOperand.addToError(node, this);
385 EvaluationResultImpl bitAnd(BinaryExpression node, EvaluationResultImpl rightO perand) => rightOperand.bitAndError(node, this); 385 EvaluationResultImpl bitAnd(BinaryExpression node, EvaluationResultImpl rightO perand) => rightOperand.bitAndError(node, this);
386 EvaluationResultImpl bitNot(Expression node) => this; 386 EvaluationResultImpl bitNot(Expression node) => this;
387 EvaluationResultImpl bitOr(BinaryExpression node, EvaluationResultImpl rightOp erand) => rightOperand.bitOrError(node, this); 387 EvaluationResultImpl bitOr(BinaryExpression node, EvaluationResultImpl rightOp erand) => rightOperand.bitOrError(node, this);
388 EvaluationResultImpl bitXor(BinaryExpression node, EvaluationResultImpl rightO perand) => rightOperand.bitXorError(node, this); 388 EvaluationResultImpl bitXor(BinaryExpression node, EvaluationResultImpl rightO perand) => rightOperand.bitXorError(node, this);
389 EvaluationResultImpl concatenate(Expression node, EvaluationResultImpl rightOp erand) => rightOperand.concatenateError(node, this); 389 EvaluationResultImpl concatenate(Expression node, EvaluationResultImpl rightOp erand) => rightOperand.concatenateError(node, this);
390 EvaluationResultImpl divide(BinaryExpression node, EvaluationResultImpl rightO perand) => rightOperand.divideError(node, this); 390 EvaluationResultImpl divide(BinaryExpression node, EvaluationResultImpl rightO perand) => rightOperand.divideError(node, this);
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 * @return a result object representing the given value 1106 * @return a result object representing the given value
1107 */ 1107 */
1108 ValidResult valueOf3(double value) => new ValidResult(value); 1108 ValidResult valueOf3(double value) => new ValidResult(value);
1109 /** 1109 /**
1110 * Return a result object representing the given value. 1110 * Return a result object representing the given value.
1111 * @param value the value to be represented as a result object 1111 * @param value the value to be represented as a result object
1112 * @return a result object representing the given value 1112 * @return a result object representing the given value
1113 */ 1113 */
1114 ValidResult valueOf4(String value) => new ValidResult(value); 1114 ValidResult valueOf4(String value) => new ValidResult(value);
1115 } 1115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698