| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012, the Dart project authors. | 2 * Copyright 2012, the Dart project authors. |
| 3 * | 3 * |
| 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except |
| 5 * in compliance with the License. You may obtain a copy of the License at | 5 * in compliance with the License. You may obtain a copy of the License at |
| 6 * | 6 * |
| 7 * http://www.eclipse.org/legal/epl-v10.html | 7 * http://www.eclipse.org/legal/epl-v10.html |
| 8 * | 8 * |
| 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License |
| 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express |
| 11 * or implied. See the License for the specific language governing permissions a
nd limitations under | 11 * or implied. See the License for the specific language governing permissions a
nd limitations under |
| 12 * the License. | 12 * the License. |
| 13 */ | 13 */ |
| 14 package com.google.dart.engine.ast; | 14 package com.google.dart.engine.ast; |
| 15 | 15 |
| 16 import com.google.dart.engine.scanner.Token; | 16 import com.google.dart.engine.scanner.Token; |
| 17 | 17 |
| 18 import java.util.List; | 18 import java.util.List; |
| 19 | 19 |
| 20 /** | 20 /** |
| 21 * Instances of the class <code>InterfaceExtendsClause</code> represent the "ext
ends" clause in an | 21 * Instances of the class {@code InterfaceExtendsClause} represent the "extends"
clause in an |
| 22 * interface declaration. | 22 * interface declaration. |
| 23 * | 23 * |
| 24 * <pre> | 24 * <pre> |
| 25 * interfaceExtendsClause ::= | 25 * interfaceExtendsClause ::= |
| 26 * 'extends' {@link TypeName superinterface} (',' {@link TypeName superinter
face})* | 26 * 'extends' {@link TypeName superinterface} (',' {@link TypeName superinter
face})* |
| 27 * </pre> | 27 * </pre> |
| 28 */ | 28 */ |
| 29 public class InterfaceExtendsClause extends ASTNode { | 29 public class InterfaceExtendsClause extends ASTNode { |
| 30 /** | 30 /** |
| 31 * The token representing the 'extends' keyword. | 31 * The token representing the 'extends' keyword. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 */ | 94 */ |
| 95 public void setKeyword(Token keyword) { | 95 public void setKeyword(Token keyword) { |
| 96 this.keyword = keyword; | 96 this.keyword = keyword; |
| 97 } | 97 } |
| 98 | 98 |
| 99 @Override | 99 @Override |
| 100 public void visitChildren(ASTVisitor<?> visitor) { | 100 public void visitChildren(ASTVisitor<?> visitor) { |
| 101 interfaces.accept(visitor); | 101 interfaces.accept(visitor); |
| 102 } | 102 } |
| 103 } | 103 } |
| OLD | NEW |