Mercurial Hosting > luan
comparison core/src/luan/impl/ExpressionsExpr.java @ 460:b48cfa14ba60
improve stack trace
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 06 May 2015 14:32:29 -0600 |
parents | 9fb218211763 |
children | 859c0dedc8b6 |
comparison
equal
deleted
inserted
replaced
459:30544d1a9cbf | 460:b48cfa14ba60 |
---|---|
1 package luan.impl; | 1 package luan.impl; |
2 | 2 |
3 import java.util.List; | 3 import java.util.List; |
4 import luan.Luan; | 4 import luan.Luan; |
5 import luan.LuanException; | 5 import luan.LuanException; |
6 import luan.LuanSource; | 6 import luan.LuanElement; |
7 | 7 |
8 | 8 |
9 final class ExpressionsExpr implements Expr { | 9 final class ExpressionsExpr implements Expr { |
10 private final Expressions expressions; | 10 private final Expressions expressions; |
11 | 11 |
17 | 17 |
18 @Override public Object eval(LuanStateImpl luan) throws LuanException { | 18 @Override public Object eval(LuanStateImpl luan) throws LuanException { |
19 return Luan.first( expressions.eval(luan) ); | 19 return Luan.first( expressions.eval(luan) ); |
20 } | 20 } |
21 | 21 |
22 public LuanSource.Element se() { | 22 public LuanElement el() { |
23 return expressions.se(); | 23 return expressions.el(); |
24 } | 24 } |
25 | 25 |
26 } | 26 } |