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
535 B

package chocopy.common.codegen;
import chocopy.common.analysis.types.ValueType;
import chocopy.common.astnodes.Literal;
/** Information concerning an instance variable. */
public class AttrInfo extends VarInfo {
/**
* A descriptor for an attribute named ATTRNAME of type VARTYPE whose initial value, if any, is
* a constant specified by INITIALVALUE (it is otherwise null).
*/
public AttrInfo(String attrName, ValueType varType, Literal initialValue) {
super(attrName, varType, initialValue);
}
}