MCPcopy Index your code
hub / github.com/clojure/clojure / UnresolvedVarExpr

Class UnresolvedVarExpr

src/jvm/clojure/lang/Compiler.java:2369–2392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2367}
2368
2369static class UnresolvedVarExpr implements Expr{
2370 public final Symbol symbol;
2371
2372 public UnresolvedVarExpr(Symbol symbol){
2373 this.symbol = symbol;
2374 }
2375
2376 public boolean hasJavaClass(){
2377 return false;
2378 }
2379
2380 public Class getJavaClass() {
2381 throw new IllegalArgumentException(
2382 "UnresolvedVarExpr has no Java class");
2383 }
2384
2385 public void emit(C context, ObjExpr objx, GeneratorAdapter gen){
2386 }
2387
2388 public Object eval() {
2389 throw new IllegalArgumentException(
2390 "UnresolvedVarExpr cannot be evalled");
2391 }
2392}
2393
2394static class NumberExpr extends LiteralExpr implements MaybePrimitiveExpr{
2395 final Number n;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected