public Expr parse(C context, Object frm) { int line = lineDeref(); int column = columnDeref(); ISeq form = (ISeq) frm; //(new Classname args...) if(form.count() < 2) throw Util.runtimeException("wrong number of arguments, expecting: (new Classname args...)"); Class c = HostExpr.maybeClass(RT.second(form), false); if(c == null) throw new IllegalArgumentException("Unable to resolve classname: " + RT.second(form)); PersistentVector args = PersistentVector.EMPTY; for(ISeq s = RT.next(RT.next(form)); s != null; s = s.next()) args = args.cons(analyze(context == C.EVAL ? context : C.EXPRESSION, s.first())); return new NewExpr(c, args, line, column); } }
method.column = columnDeref();
public Expr parse(C context, Object frm) { int line = lineDeref(); int column = columnDeref(); String source = (String) SOURCE.deref();
method.column = columnDeref();
int column = columnDeref(); String source = (String) SOURCE.deref(); Class c = maybeClass(RT.second(form), false);
private static Expr analyzeSeq(C context, ISeq form, String name) { Object line = lineDeref(); Object column = columnDeref(); if(RT.meta(form) != null && RT.meta(form).containsKey(RT.LINE_KEY)) line = RT.meta(form).valAt(RT.LINE_KEY); throw new CompilerException((String) SOURCE_PATH.deref(), lineDeref(), columnDeref(), e); else throw (CompilerException) e;
throw new CompilerException((String) SOURCE_PATH.deref(), lineDeref(), columnDeref(), e); else throw (CompilerException) e;
form = RT.list(FN, RT.next(form)); fn.line = lineDeref(); fn.column = columnDeref(); FnMethod[] methodArray = new FnMethod[MAX_POSITIONAL_ARITY + 1]; FnMethod variadicMethod = null;
ret.column = columnDeref(); IPersistentCollection methods = null; for(ISeq s = methodForms; s != null; s = RT.next(s))
return new DefExpr((String) SOURCE.deref(), lineDeref(), columnDeref(), v, analyze(context == C.EVAL ? context : C.EXPRESSION, RT.third(form), v.sym.name), meta, RT.count(form) == 3, isDynamic, shadowsCoreMapping);
return new KeywordInvokeExpr((String) SOURCE.deref(), lineDeref(), columnDeref(), tagOf(form), (KeywordExpr) fexpr, target); return new InvokeExpr((String) SOURCE.deref(), lineDeref(), columnDeref(), tagOf(form), fexpr, args);
columnDeref(), testexpr, thenexpr,
return new StaticFieldExpr(lineDeref(), columnDeref(), c, sym.name, tag); throw Util.runtimeException("Unable to find static field: " + sym.name + " in " + c);
Object column = columnDeref(); if(RT.meta(form) != null && RT.meta(form).containsKey(RT.LINE_KEY)) line = RT.meta(form).valAt(RT.LINE_KEY);
static void compile1(GeneratorAdapter gen, ObjExpr objx, Object form) { Object line = lineDeref(); Object column = columnDeref(); if(RT.meta(form) != null && RT.meta(form).containsKey(RT.LINE_KEY)) line = RT.meta(form).valAt(RT.LINE_KEY);