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

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

Issue 18612009: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 library engine.ast; 3 library engine.ast;
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'java_core.dart'; 5 import 'java_core.dart';
6 import 'java_engine.dart'; 6 import 'java_engine.dart';
7 import 'error.dart'; 7 import 'error.dart';
8 import 'source.dart' show LineInfo; 8 import 'source.dart' show LineInfo;
9 import 'scanner.dart'; 9 import 'scanner.dart';
10 import 'engine.dart' show AnalysisEngine; 10 import 'engine.dart' show AnalysisEngine;
11 import 'utilities_dart.dart'; 11 import 'utilities_dart.dart';
12 import 'element.dart'; 12 import 'element.dart';
13 /** 13 /**
14 * The abstract class `ASTNode` defines the behavior common to all nodes in the AST structure 14 * The abstract class `ASTNode` defines the behavior common to all nodes in the AST structure
15 * for a Dart program. 15 * for a Dart program.
16 * 16 *
17 * @coverage dart.engine.ast 17 * @coverage dart.engine.ast
18 */ 18 */
19 abstract class ASTNode { 19 abstract class ASTNode {
20 20
21 /** 21 /**
22 * An empty array of ast nodes.
23 */
24 static List<ASTNode> EMPTY_ARRAY = new List<ASTNode>(0);
25
26 /**
22 * The parent of the node, or `null` if the node is the root of an AST structu re. 27 * The parent of the node, or `null` if the node is the root of an AST structu re.
23 */ 28 */
24 ASTNode _parent; 29 ASTNode _parent;
25 30
26 /** 31 /**
27 * A table mapping the names of properties to their values, or `null` if this node does not 32 * A table mapping the names of properties to their values, or `null` if this node does not
28 * have any properties associated with it. 33 * have any properties associated with it.
29 */ 34 */
30 Map<String, Object> _propertyMap; 35 Map<String, Object> _propertyMap;
31 36
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 R visitLabel(Label node); 310 R visitLabel(Label node);
306 R visitLabeledStatement(LabeledStatement node); 311 R visitLabeledStatement(LabeledStatement node);
307 R visitLibraryDirective(LibraryDirective node); 312 R visitLibraryDirective(LibraryDirective node);
308 R visitLibraryIdentifier(LibraryIdentifier node); 313 R visitLibraryIdentifier(LibraryIdentifier node);
309 R visitListLiteral(ListLiteral node); 314 R visitListLiteral(ListLiteral node);
310 R visitMapLiteral(MapLiteral node); 315 R visitMapLiteral(MapLiteral node);
311 R visitMapLiteralEntry(MapLiteralEntry node); 316 R visitMapLiteralEntry(MapLiteralEntry node);
312 R visitMethodDeclaration(MethodDeclaration node); 317 R visitMethodDeclaration(MethodDeclaration node);
313 R visitMethodInvocation(MethodInvocation node); 318 R visitMethodInvocation(MethodInvocation node);
314 R visitNamedExpression(NamedExpression node); 319 R visitNamedExpression(NamedExpression node);
320 R visitNativeClause(NativeClause node);
315 R visitNativeFunctionBody(NativeFunctionBody node); 321 R visitNativeFunctionBody(NativeFunctionBody node);
316 R visitNullLiteral(NullLiteral node); 322 R visitNullLiteral(NullLiteral node);
317 R visitParenthesizedExpression(ParenthesizedExpression node); 323 R visitParenthesizedExpression(ParenthesizedExpression node);
318 R visitPartDirective(PartDirective node); 324 R visitPartDirective(PartDirective node);
319 R visitPartOfDirective(PartOfDirective node); 325 R visitPartOfDirective(PartOfDirective node);
320 R visitPostfixExpression(PostfixExpression node); 326 R visitPostfixExpression(PostfixExpression node);
321 R visitPrefixedIdentifier(PrefixedIdentifier node); 327 R visitPrefixedIdentifier(PrefixedIdentifier node);
322 R visitPrefixExpression(PrefixExpression node); 328 R visitPrefixExpression(PrefixExpression node);
323 R visitPropertyAccess(PropertyAccess node); 329 R visitPropertyAccess(PropertyAccess node);
324 R visitRedirectingConstructorInvocation(RedirectingConstructorInvocation node) ; 330 R visitRedirectingConstructorInvocation(RedirectingConstructorInvocation node) ;
(...skipping 2044 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 */ 2375 */
2370 WithClause _withClause; 2376 WithClause _withClause;
2371 2377
2372 /** 2378 /**
2373 * The implements clause for the class, or `null` if the class does not implem ent any 2379 * The implements clause for the class, or `null` if the class does not implem ent any
2374 * interfaces. 2380 * interfaces.
2375 */ 2381 */
2376 ImplementsClause _implementsClause; 2382 ImplementsClause _implementsClause;
2377 2383
2378 /** 2384 /**
2385 * The native clause for the class, or `null` if the class does not have a nat ive clause.
2386 */
2387 NativeClause _nativeClause;
2388
2389 /**
2379 * The left curly bracket. 2390 * The left curly bracket.
2380 */ 2391 */
2381 Token _leftBracket; 2392 Token _leftBracket;
2382 2393
2383 /** 2394 /**
2384 * The members defined by the class. 2395 * The members defined by the class.
2385 */ 2396 */
2386 NodeList<ClassMember> _members; 2397 NodeList<ClassMember> _members;
2387 2398
2388 /** 2399 /**
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 NodeList<ClassMember> get members => _members; 2497 NodeList<ClassMember> get members => _members;
2487 2498
2488 /** 2499 /**
2489 * Return the name of the class being declared. 2500 * Return the name of the class being declared.
2490 * 2501 *
2491 * @return the name of the class being declared 2502 * @return the name of the class being declared
2492 */ 2503 */
2493 SimpleIdentifier get name => _name; 2504 SimpleIdentifier get name => _name;
2494 2505
2495 /** 2506 /**
2507 * Return the native clause for this class, or `null` if the class does not ha ve a native
2508 * cluse.
2509 *
2510 * @return the native clause for this class
2511 */
2512 NativeClause get nativeClause => _nativeClause;
2513
2514 /**
2496 * Return the right curly bracket. 2515 * Return the right curly bracket.
2497 * 2516 *
2498 * @return the right curly bracket 2517 * @return the right curly bracket
2499 */ 2518 */
2500 Token get rightBracket => _rightBracket; 2519 Token get rightBracket => _rightBracket;
2501 2520
2502 /** 2521 /**
2503 * Return the type parameters for the class, or `null` if the class does not h ave any type 2522 * Return the type parameters for the class, or `null` if the class does not h ave any type
2504 * parameters. 2523 * parameters.
2505 * 2524 *
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
2562 /** 2581 /**
2563 * Set the name of the class being declared to the given identifier. 2582 * Set the name of the class being declared to the given identifier.
2564 * 2583 *
2565 * @param identifier the name of the class being declared 2584 * @param identifier the name of the class being declared
2566 */ 2585 */
2567 void set name(SimpleIdentifier identifier) { 2586 void set name(SimpleIdentifier identifier) {
2568 _name = becomeParentOf(identifier); 2587 _name = becomeParentOf(identifier);
2569 } 2588 }
2570 2589
2571 /** 2590 /**
2591 * Set the native clause for this class to the given clause.
2592 *
2593 * @param nativeClause the native clause for this class
2594 */
2595 void set nativeClause(NativeClause nativeClause2) {
2596 this._nativeClause = nativeClause2;
2597 }
2598
2599 /**
2572 * Set the right curly bracket to the given token. 2600 * Set the right curly bracket to the given token.
2573 * 2601 *
2574 * @param rightBracket the right curly bracket 2602 * @param rightBracket the right curly bracket
2575 */ 2603 */
2576 void set rightBracket(Token rightBracket2) { 2604 void set rightBracket(Token rightBracket2) {
2577 this._rightBracket = rightBracket2; 2605 this._rightBracket = rightBracket2;
2578 } 2606 }
2579 2607
2580 /** 2608 /**
2581 * Set the type parameters for the class to the given list of type parameters. 2609 * Set the type parameters for the class to the given list of type parameters.
(...skipping 5203 matching lines...) Expand 10 before | Expand all | Expand 10 after
7785 * The token representing the 'implements' keyword. 7813 * The token representing the 'implements' keyword.
7786 */ 7814 */
7787 Token _keyword; 7815 Token _keyword;
7788 7816
7789 /** 7817 /**
7790 * The interfaces that are being implemented. 7818 * The interfaces that are being implemented.
7791 */ 7819 */
7792 NodeList<TypeName> _interfaces; 7820 NodeList<TypeName> _interfaces;
7793 7821
7794 /** 7822 /**
7795 * Initialize a newly created extends clause. 7823 * Initialize a newly created implements clause.
7796 * 7824 *
7797 * @param keyword the token representing the 'implements' keyword 7825 * @param keyword the token representing the 'implements' keyword
7798 * @param interfaces the interfaces that are being implemented 7826 * @param interfaces the interfaces that are being implemented
7799 */ 7827 */
7800 ImplementsClause.full(Token keyword, List<TypeName> interfaces) { 7828 ImplementsClause.full(Token keyword, List<TypeName> interfaces) {
7801 this._interfaces = new NodeList<TypeName>(this); 7829 this._interfaces = new NodeList<TypeName>(this);
7802 this._keyword = keyword; 7830 this._keyword = keyword;
7803 this._interfaces.addAll(interfaces); 7831 this._interfaces.addAll(interfaces);
7804 } 7832 }
7805 7833
7806 /** 7834 /**
7807 * Initialize a newly created extends clause. 7835 * Initialize a newly created implements clause.
7808 * 7836 *
7809 * @param keyword the token representing the 'implements' keyword 7837 * @param keyword the token representing the 'implements' keyword
7810 * @param interfaces the interfaces that are being implemented 7838 * @param interfaces the interfaces that are being implemented
7811 */ 7839 */
7812 ImplementsClause({Token keyword, List<TypeName> interfaces}) : this.full(keywo rd, interfaces); 7840 ImplementsClause({Token keyword, List<TypeName> interfaces}) : this.full(keywo rd, interfaces);
7813 accept(ASTVisitor visitor) => visitor.visitImplementsClause(this); 7841 accept(ASTVisitor visitor) => visitor.visitImplementsClause(this);
7814 Token get beginToken => _keyword; 7842 Token get beginToken => _keyword;
7815 Token get endToken => _interfaces.endToken; 7843 Token get endToken => _interfaces.endToken;
7816 7844
7817 /** 7845 /**
(...skipping 2406 matching lines...) Expand 10 before | Expand all | Expand 10 after
10224 * Set the semicolon terminating the directive to the given token. 10252 * Set the semicolon terminating the directive to the given token.
10225 * 10253 *
10226 * @param semicolon the semicolon terminating the directive 10254 * @param semicolon the semicolon terminating the directive
10227 */ 10255 */
10228 void set semicolon(Token semicolon2) { 10256 void set semicolon(Token semicolon2) {
10229 this._semicolon = semicolon2; 10257 this._semicolon = semicolon2;
10230 } 10258 }
10231 Token get firstTokenAfterCommentAndMetadata => _keyword; 10259 Token get firstTokenAfterCommentAndMetadata => _keyword;
10232 } 10260 }
10233 /** 10261 /**
10262 * Instances of the class `NativeClause` represent the "native" clause in an cla ss
10263 * declaration.
10264 *
10265 * <pre>
10266 * nativeClause ::=
10267 * 'native' [StringLiteral]
10268 * </pre>
10269 *
10270 * @coverage dart.engine.ast
10271 */
10272 class NativeClause extends ASTNode {
10273
10274 /**
10275 * The token representing the 'native' keyword.
10276 */
10277 Token _keyword;
10278
10279 /**
10280 * The name of the native object that implements the class.
10281 */
10282 StringLiteral _name;
10283
10284 /**
10285 * Initialize a newly created native clause.
10286 *
10287 * @param keyword the token representing the 'native' keyword
10288 * @param name the name of the native object that implements the class.
10289 */
10290 NativeClause.full(Token keyword, StringLiteral name) {
10291 this._keyword = keyword;
10292 this._name = name;
10293 }
10294
10295 /**
10296 * Initialize a newly created native clause.
10297 *
10298 * @param keyword the token representing the 'native' keyword
10299 * @param name the name of the native object that implements the class.
10300 */
10301 NativeClause({Token keyword, StringLiteral name}) : this.full(keyword, name);
10302 accept(ASTVisitor visitor) => visitor.visitNativeClause(this);
10303 Token get beginToken => _keyword;
10304 Token get endToken => _name.endToken;
10305
10306 /**
10307 * Return the token representing the 'native' keyword.
10308 *
10309 * @return the token representing the 'native' keyword
10310 */
10311 Token get keyword => _keyword;
10312
10313 /**
10314 * @return the name of the native object that implements the class.
10315 */
10316 StringLiteral get name => _name;
10317
10318 /**
10319 * Set the token representing the 'native' keyword to the given token.
10320 *
10321 * @param keyword the token representing the 'native' keyword
10322 */
10323 void set keyword(Token keyword2) {
10324 this._keyword = keyword2;
10325 }
10326
10327 /**
10328 * Sets the name of the native object that implements the class.
10329 *
10330 * @param name the name of the native object that implements the class.
10331 */
10332 void set name(StringLiteral name2) {
10333 this._name = name2;
10334 }
10335 void visitChildren(ASTVisitor<Object> visitor) {
10336 safelyVisitChild(_name, visitor);
10337 }
10338 }
10339 /**
10234 * Instances of the class `NativeFunctionBody` represent a function body that co nsists of a 10340 * Instances of the class `NativeFunctionBody` represent a function body that co nsists of a
10235 * native keyword followed by a string literal. 10341 * native keyword followed by a string literal.
10236 * 10342 *
10237 * <pre> 10343 * <pre>
10238 * nativeFunctionBody ::= 10344 * nativeFunctionBody ::=
10239 * 'native' [SimpleStringLiteral] ';' 10345 * 'native' [SimpleStringLiteral] ';'
10240 * </pre> 10346 * </pre>
10241 * 10347 *
10242 * @coverage dart.engine.ast 10348 * @coverage dart.engine.ast
10243 */ 10349 */
(...skipping 5041 matching lines...) Expand 10 before | Expand all | Expand 10 after
15285 R visitLibraryDirective(LibraryDirective node) => visitDirective(node); 15391 R visitLibraryDirective(LibraryDirective node) => visitDirective(node);
15286 R visitLibraryIdentifier(LibraryIdentifier node) => visitIdentifier(node); 15392 R visitLibraryIdentifier(LibraryIdentifier node) => visitIdentifier(node);
15287 R visitListLiteral(ListLiteral node) => visitTypedLiteral(node); 15393 R visitListLiteral(ListLiteral node) => visitTypedLiteral(node);
15288 R visitLiteral(Literal node) => visitExpression(node); 15394 R visitLiteral(Literal node) => visitExpression(node);
15289 R visitMapLiteral(MapLiteral node) => visitTypedLiteral(node); 15395 R visitMapLiteral(MapLiteral node) => visitTypedLiteral(node);
15290 R visitMapLiteralEntry(MapLiteralEntry node) => visitNode(node); 15396 R visitMapLiteralEntry(MapLiteralEntry node) => visitNode(node);
15291 R visitMethodDeclaration(MethodDeclaration node) => visitClassMember(node); 15397 R visitMethodDeclaration(MethodDeclaration node) => visitClassMember(node);
15292 R visitMethodInvocation(MethodInvocation node) => visitExpression(node); 15398 R visitMethodInvocation(MethodInvocation node) => visitExpression(node);
15293 R visitNamedExpression(NamedExpression node) => visitExpression(node); 15399 R visitNamedExpression(NamedExpression node) => visitExpression(node);
15294 R visitNamespaceDirective(NamespaceDirective node) => visitUriBasedDirective(n ode); 15400 R visitNamespaceDirective(NamespaceDirective node) => visitUriBasedDirective(n ode);
15401 R visitNativeClause(NativeClause node) => visitNode(node);
15295 R visitNativeFunctionBody(NativeFunctionBody node) => visitFunctionBody(node); 15402 R visitNativeFunctionBody(NativeFunctionBody node) => visitFunctionBody(node);
15296 R visitNode(ASTNode node) { 15403 R visitNode(ASTNode node) {
15297 node.visitChildren(this); 15404 node.visitChildren(this);
15298 return null; 15405 return null;
15299 } 15406 }
15300 R visitNormalFormalParameter(NormalFormalParameter node) => visitFormalParamet er(node); 15407 R visitNormalFormalParameter(NormalFormalParameter node) => visitFormalParamet er(node);
15301 R visitNullLiteral(NullLiteral node) => visitLiteral(node); 15408 R visitNullLiteral(NullLiteral node) => visitLiteral(node);
15302 R visitParenthesizedExpression(ParenthesizedExpression node) => visitExpressio n(node); 15409 R visitParenthesizedExpression(ParenthesizedExpression node) => visitExpressio n(node);
15303 R visitPartDirective(PartDirective node) => visitUriBasedDirective(node); 15410 R visitPartDirective(PartDirective node) => visitUriBasedDirective(node);
15304 R visitPartOfDirective(PartOfDirective node) => visitDirective(node); 15411 R visitPartOfDirective(PartOfDirective node) => visitDirective(node);
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
15708 return null; 15815 return null;
15709 } 15816 }
15710 R visitMethodInvocation(MethodInvocation node) { 15817 R visitMethodInvocation(MethodInvocation node) {
15711 node.visitChildren(this); 15818 node.visitChildren(this);
15712 return null; 15819 return null;
15713 } 15820 }
15714 R visitNamedExpression(NamedExpression node) { 15821 R visitNamedExpression(NamedExpression node) {
15715 node.visitChildren(this); 15822 node.visitChildren(this);
15716 return null; 15823 return null;
15717 } 15824 }
15825 R visitNativeClause(NativeClause node) {
15826 node.visitChildren(this);
15827 return null;
15828 }
15718 R visitNativeFunctionBody(NativeFunctionBody node) { 15829 R visitNativeFunctionBody(NativeFunctionBody node) {
15719 node.visitChildren(this); 15830 node.visitChildren(this);
15720 return null; 15831 return null;
15721 } 15832 }
15722 R visitNullLiteral(NullLiteral node) { 15833 R visitNullLiteral(NullLiteral node) {
15723 node.visitChildren(this); 15834 node.visitChildren(this);
15724 return null; 15835 return null;
15725 } 15836 }
15726 R visitParenthesizedExpression(ParenthesizedExpression node) { 15837 R visitParenthesizedExpression(ParenthesizedExpression node) {
15727 node.visitChildren(this); 15838 node.visitChildren(this);
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
15931 R visitLabel(Label node) => null; 16042 R visitLabel(Label node) => null;
15932 R visitLabeledStatement(LabeledStatement node) => null; 16043 R visitLabeledStatement(LabeledStatement node) => null;
15933 R visitLibraryDirective(LibraryDirective node) => null; 16044 R visitLibraryDirective(LibraryDirective node) => null;
15934 R visitLibraryIdentifier(LibraryIdentifier node) => null; 16045 R visitLibraryIdentifier(LibraryIdentifier node) => null;
15935 R visitListLiteral(ListLiteral node) => null; 16046 R visitListLiteral(ListLiteral node) => null;
15936 R visitMapLiteral(MapLiteral node) => null; 16047 R visitMapLiteral(MapLiteral node) => null;
15937 R visitMapLiteralEntry(MapLiteralEntry node) => null; 16048 R visitMapLiteralEntry(MapLiteralEntry node) => null;
15938 R visitMethodDeclaration(MethodDeclaration node) => null; 16049 R visitMethodDeclaration(MethodDeclaration node) => null;
15939 R visitMethodInvocation(MethodInvocation node) => null; 16050 R visitMethodInvocation(MethodInvocation node) => null;
15940 R visitNamedExpression(NamedExpression node) => null; 16051 R visitNamedExpression(NamedExpression node) => null;
16052 R visitNativeClause(NativeClause node) => null;
15941 R visitNativeFunctionBody(NativeFunctionBody node) => null; 16053 R visitNativeFunctionBody(NativeFunctionBody node) => null;
15942 R visitNullLiteral(NullLiteral node) => null; 16054 R visitNullLiteral(NullLiteral node) => null;
15943 R visitParenthesizedExpression(ParenthesizedExpression node) => null; 16055 R visitParenthesizedExpression(ParenthesizedExpression node) => null;
15944 R visitPartDirective(PartDirective node) => null; 16056 R visitPartDirective(PartDirective node) => null;
15945 R visitPartOfDirective(PartOfDirective node) => null; 16057 R visitPartOfDirective(PartOfDirective node) => null;
15946 R visitPostfixExpression(PostfixExpression node) => null; 16058 R visitPostfixExpression(PostfixExpression node) => null;
15947 R visitPrefixedIdentifier(PrefixedIdentifier node) => null; 16059 R visitPrefixedIdentifier(PrefixedIdentifier node) => null;
15948 R visitPrefixExpression(PrefixExpression node) => null; 16060 R visitPrefixExpression(PrefixExpression node) => null;
15949 R visitPropertyAccess(PropertyAccess node) => null; 16061 R visitPropertyAccess(PropertyAccess node) => null;
15950 R visitRedirectingConstructorInvocation(RedirectingConstructorInvocation node) => null; 16062 R visitRedirectingConstructorInvocation(RedirectingConstructorInvocation node) => null;
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
16471 } 16583 }
16472 visit(node.methodName); 16584 visit(node.methodName);
16473 visit(node.argumentList); 16585 visit(node.argumentList);
16474 return null; 16586 return null;
16475 } 16587 }
16476 Object visitNamedExpression(NamedExpression node) { 16588 Object visitNamedExpression(NamedExpression node) {
16477 visit(node.name); 16589 visit(node.name);
16478 visit3(" ", node.expression); 16590 visit3(" ", node.expression);
16479 return null; 16591 return null;
16480 } 16592 }
16593 Object visitNativeClause(NativeClause node) {
16594 _writer.print("native ");
16595 visit(node.name);
16596 return null;
16597 }
16481 Object visitNativeFunctionBody(NativeFunctionBody node) { 16598 Object visitNativeFunctionBody(NativeFunctionBody node) {
16482 _writer.print("native "); 16599 _writer.print("native ");
16483 visit(node.stringLiteral); 16600 visit(node.stringLiteral);
16484 _writer.print(';'); 16601 _writer.print(';');
16485 return null; 16602 return null;
16486 } 16603 }
16487 Object visitNullLiteral(NullLiteral node) { 16604 Object visitNullLiteral(NullLiteral node) {
16488 _writer.print("null"); 16605 _writer.print("null");
16489 return null; 16606 return null;
16490 } 16607 }
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
16907 Label visitLabel(Label node) => new Label.full(clone2(node.label), node.colon) ; 17024 Label visitLabel(Label node) => new Label.full(clone2(node.label), node.colon) ;
16908 LabeledStatement visitLabeledStatement(LabeledStatement node) => new LabeledSt atement.full(clone3(node.labels), clone2(node.statement)); 17025 LabeledStatement visitLabeledStatement(LabeledStatement node) => new LabeledSt atement.full(clone3(node.labels), clone2(node.statement));
16909 LibraryDirective visitLibraryDirective(LibraryDirective node) => new LibraryDi rective.full(clone2(node.documentationComment), clone3(node.metadata), node.libr aryToken, clone2(node.name), node.semicolon); 17026 LibraryDirective visitLibraryDirective(LibraryDirective node) => new LibraryDi rective.full(clone2(node.documentationComment), clone3(node.metadata), node.libr aryToken, clone2(node.name), node.semicolon);
16910 LibraryIdentifier visitLibraryIdentifier(LibraryIdentifier node) => new Librar yIdentifier.full(clone3(node.components)); 17027 LibraryIdentifier visitLibraryIdentifier(LibraryIdentifier node) => new Librar yIdentifier.full(clone3(node.components));
16911 ListLiteral visitListLiteral(ListLiteral node) => new ListLiteral.full(node.mo difier, clone2(node.typeArguments), node.leftBracket, clone3(node.elements), nod e.rightBracket); 17028 ListLiteral visitListLiteral(ListLiteral node) => new ListLiteral.full(node.mo difier, clone2(node.typeArguments), node.leftBracket, clone3(node.elements), nod e.rightBracket);
16912 MapLiteral visitMapLiteral(MapLiteral node) => new MapLiteral.full(node.modifi er, clone2(node.typeArguments), node.leftBracket, clone3(node.entries), node.rig htBracket); 17029 MapLiteral visitMapLiteral(MapLiteral node) => new MapLiteral.full(node.modifi er, clone2(node.typeArguments), node.leftBracket, clone3(node.entries), node.rig htBracket);
16913 MapLiteralEntry visitMapLiteralEntry(MapLiteralEntry node) => new MapLiteralEn try.full(clone2(node.key), node.separator, clone2(node.value)); 17030 MapLiteralEntry visitMapLiteralEntry(MapLiteralEntry node) => new MapLiteralEn try.full(clone2(node.key), node.separator, clone2(node.value));
16914 MethodDeclaration visitMethodDeclaration(MethodDeclaration node) => new Method Declaration.full(clone2(node.documentationComment), clone3(node.metadata), node. externalKeyword, node.modifierKeyword, clone2(node.returnType), node.propertyKey word, node.operatorKeyword, clone2(node.name), clone2(node.parameters), clone2(n ode.body)); 17031 MethodDeclaration visitMethodDeclaration(MethodDeclaration node) => new Method Declaration.full(clone2(node.documentationComment), clone3(node.metadata), node. externalKeyword, node.modifierKeyword, clone2(node.returnType), node.propertyKey word, node.operatorKeyword, clone2(node.name), clone2(node.parameters), clone2(n ode.body));
16915 MethodInvocation visitMethodInvocation(MethodInvocation node) => new MethodInv ocation.full(clone2(node.target), node.period, clone2(node.methodName), clone2(n ode.argumentList)); 17032 MethodInvocation visitMethodInvocation(MethodInvocation node) => new MethodInv ocation.full(clone2(node.target), node.period, clone2(node.methodName), clone2(n ode.argumentList));
16916 NamedExpression visitNamedExpression(NamedExpression node) => new NamedExpress ion.full(clone2(node.name), clone2(node.expression)); 17033 NamedExpression visitNamedExpression(NamedExpression node) => new NamedExpress ion.full(clone2(node.name), clone2(node.expression));
17034 ASTNode visitNativeClause(NativeClause node) => new NativeClause.full(node.key word, clone2(node.name));
16917 NativeFunctionBody visitNativeFunctionBody(NativeFunctionBody node) => new Nat iveFunctionBody.full(node.nativeToken, clone2(node.stringLiteral), node.semicolo n); 17035 NativeFunctionBody visitNativeFunctionBody(NativeFunctionBody node) => new Nat iveFunctionBody.full(node.nativeToken, clone2(node.stringLiteral), node.semicolo n);
16918 NullLiteral visitNullLiteral(NullLiteral node) => new NullLiteral.full(node.li teral); 17036 NullLiteral visitNullLiteral(NullLiteral node) => new NullLiteral.full(node.li teral);
16919 ParenthesizedExpression visitParenthesizedExpression(ParenthesizedExpression n ode) => new ParenthesizedExpression.full(node.leftParenthesis, clone2(node.expre ssion), node.rightParenthesis); 17037 ParenthesizedExpression visitParenthesizedExpression(ParenthesizedExpression n ode) => new ParenthesizedExpression.full(node.leftParenthesis, clone2(node.expre ssion), node.rightParenthesis);
16920 PartDirective visitPartDirective(PartDirective node) => new PartDirective.full (clone2(node.documentationComment), clone3(node.metadata), node.partToken, clone 2(node.uri), node.semicolon); 17038 PartDirective visitPartDirective(PartDirective node) => new PartDirective.full (clone2(node.documentationComment), clone3(node.metadata), node.partToken, clone 2(node.uri), node.semicolon);
16921 PartOfDirective visitPartOfDirective(PartOfDirective node) => new PartOfDirect ive.full(clone2(node.documentationComment), clone3(node.metadata), node.partToke n, node.ofToken, clone2(node.libraryName), node.semicolon); 17039 PartOfDirective visitPartOfDirective(PartOfDirective node) => new PartOfDirect ive.full(clone2(node.documentationComment), clone3(node.metadata), node.partToke n, node.ofToken, clone2(node.libraryName), node.semicolon);
16922 PostfixExpression visitPostfixExpression(PostfixExpression node) => new Postfi xExpression.full(clone2(node.operand), node.operator); 17040 PostfixExpression visitPostfixExpression(PostfixExpression node) => new Postfi xExpression.full(clone2(node.operand), node.operator);
16923 PrefixedIdentifier visitPrefixedIdentifier(PrefixedIdentifier node) => new Pre fixedIdentifier.full(clone2(node.prefix), node.period, clone2(node.identifier)); 17041 PrefixedIdentifier visitPrefixedIdentifier(PrefixedIdentifier node) => new Pre fixedIdentifier.full(clone2(node.prefix), node.period, clone2(node.identifier));
16924 PrefixExpression visitPrefixExpression(PrefixExpression node) => new PrefixExp ression.full(node.operator, clone2(node.operand)); 17042 PrefixExpression visitPrefixExpression(PrefixExpression node) => new PrefixExp ression.full(node.operator, clone2(node.operand));
16925 PropertyAccess visitPropertyAccess(PropertyAccess node) => new PropertyAccess. full(clone2(node.target), node.operator, clone2(node.propertyName)); 17043 PropertyAccess visitPropertyAccess(PropertyAccess node) => new PropertyAccess. full(clone2(node.target), node.operator, clone2(node.propertyName));
16926 RedirectingConstructorInvocation visitRedirectingConstructorInvocation(Redirec tingConstructorInvocation node) => new RedirectingConstructorInvocation.full(nod e.keyword, node.period, clone2(node.constructorName), clone2(node.argumentList)) ; 17044 RedirectingConstructorInvocation visitRedirectingConstructorInvocation(Redirec tingConstructorInvocation node) => new RedirectingConstructorInvocation.full(nod e.keyword, node.period, clone2(node.constructorName), clone2(node.argumentList)) ;
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
17166 return elements[elements.length - 1].endToken; 17284 return elements[elements.length - 1].endToken;
17167 } 17285 }
17168 /** 17286 /**
17169 * Return the node that is the parent of each of the elements in the list. 17287 * Return the node that is the parent of each of the elements in the list.
17170 * @return the node that is the parent of each of the elements in the list 17288 * @return the node that is the parent of each of the elements in the list
17171 */ 17289 */
17172 ASTNode getOwner() { 17290 ASTNode getOwner() {
17173 return owner; 17291 return owner;
17174 } 17292 }
17175 } 17293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698