superclass = frame.getType(extend);
}
else
superclass = Interpreter.ObjectClass;
if (!source.getCarType().equals(Interpreter.curlyBracesType))
throw new UnendedLineException("An object declaration must have a body.");
source = (Token) source.getCar();
ArrayList<Token> lines = Interpreter.splitLines(source);
ArrayList<Pair<Access, Token>> staticObjects = new ArrayList<>(), staticMethods = new ArrayList<>(), staticVariables = new ArrayList<>();
while (lines.size() > 0) {
Token line = lines.remove(0);