You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
403 B
17 lines
403 B
package chocopy.common.astnodes;
|
|
|
|
import java_cup.runtime.ComplexSymbolFactory.Location;
|
|
|
|
/**
|
|
* Base of all AST nodes representing type annotations (list or class
|
|
* types.
|
|
*/
|
|
public abstract class TypeAnnotation extends Node {
|
|
/**
|
|
* An annotation spanning source locations [LEFT..RIGHT].
|
|
*/
|
|
public TypeAnnotation(Location left, Location right) {
|
|
super(left, right);
|
|
}
|
|
}
|