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.
19 lines
452 B
19 lines
452 B
package chocopy.common.astnodes;
|
|
|
|
import java_cup.runtime.ComplexSymbolFactory.Location;
|
|
|
|
/**
|
|
* Base of all the literal nodes.
|
|
* <p>
|
|
* There is nothing in this class, but it is useful to isolate
|
|
* expressions that are constant literals.
|
|
*/
|
|
public abstract class Literal extends Expr {
|
|
/**
|
|
* A literal spanning source locations [LEFT..RIGHT].
|
|
*/
|
|
public Literal(Location left, Location right) {
|
|
super(left, right);
|
|
}
|
|
}
|