Uses of Interface
jfun.jaskell.ast.Expr

Packages that use Expr
jfun.jaskell Provides classes and interfaces for compiling and running jaskell code. 
jfun.jaskell.ast Provides classes and interfaces for the abstract syntax tree of jaskell. 
 

Uses of Expr in jfun.jaskell
 

Methods in jfun.jaskell that return Expr
static Expr Jaskell.compileExpr(Expr expr)
          Compiles an expression.
static Expr Jaskell.parseExpr(java.lang.Object module_id, java.lang.String module, jfun.parsec.PositionMap pmap, java.lang.CharSequence src)
          Parses source code containing an expression.
static Expr Jaskell.parseExpr(java.lang.Object module_id, java.lang.String module, java.lang.CharSequence src)
          Parses source code containing an expression.
static Expr Jaskell.parseExpr(java.lang.Object module_id, java.lang.CharSequence src)
          Parses source code containing an expression.
static Expr Jaskell.loadExpr(java.lang.Object module_id, java.lang.String module, java.io.InputStream in)
          Parse and compile source code containing an expression.
static Expr Jaskell.loadExpr(java.lang.Object module_id, java.lang.String module, java.lang.CharSequence src)
          Parse and compile source code containing an expression.
static Expr Jaskell.loadExprFile(java.io.File file)
          Parse and compile an expression contained in a file.
static Expr Jaskell.loadExprFile(java.lang.String fname)
          Parse and compile an expression contained in a file.
 

Methods in jfun.jaskell with parameters of type Expr
 java.lang.Object Jaskell.eval(Expr expr)
          Evaluate a compiled expression to a value.
static Expr Jaskell.compileExpr(Expr expr)
          Compiles an expression.
 

Constructors in jfun.jaskell with parameters of type Expr
InvalidArgumentException(java.lang.String msg, Expr e)
           
InvalidArgumentException(java.lang.String arg0, java.lang.Throwable arg1, Expr e)
           
InvalidArgumentException(java.lang.Throwable arg0, Expr e)
           
EvaluationException(java.lang.String msg, Expr e)
           
AbstractMemberException(java.lang.String member_name, Expr e)
          Create an AbstractMemberException.
 

Uses of Expr in jfun.jaskell.ast
 

Classes in jfun.jaskell.ast that implement Expr
(package private)  class jfun.jaskell.ast.AbstractExpr
           
 class Bound
          Represents a use of a Binding.
 

Methods in jfun.jaskell.ast that return Expr
 Expr[] InterpolatedString.getExprs()
          Get the sub-expressions.
 Expr InterpolatedString.getExpr(int i)
          Get the i'th sub-expression.
static Expr Exprs.buildChar(int from, Location loc, java.lang.Character c)
          Build an expression of a char literal.
static Expr Exprs.buildBool(int from, Location loc, boolean b)
          Build an expression of a bool literal.
static Expr Exprs.buildNumber(int from, Location loc, java.lang.Double n)
          Build an expression of a decimal number literal.
static Expr Exprs.buildInteger(int from, Location loc, java.lang.Integer n)
          Build an expression of an integer literal.
static Expr Exprs.buildString(int from, Location loc, java.lang.String s)
          Build an expression of a string literal.
static Expr Exprs.buildInterpolatedString(int from, Location loc, InterpolatedString str)
          Build an expression of an interpolated string literal.
static Expr Exprs.buildVar(int from, Location loc, java.lang.String n)
          Build an expression of a variable.
static Expr Exprs.buildOpExpr(int from, Location loc, Operator f)
          Build an expression for an operator that is used as a function.
static Expr Exprs.buildCall(int from, Location loc, Expr n, Expr[] args)
          Build a function call expression.
static Expr Exprs.buildIfElse(int from, Location loc, Expr cond, Expr yes, Expr no)
          Build a if-else expression.
static Expr Exprs.buildIf(int from, Location loc, Expr cond, Expr consequence)
          Build a if expression.
static Expr Exprs.buildUnary(int from, Location loc, Operator op, Expr e)
          Build a unary operator call.
static Expr Exprs.buildBinary(int from, Location loc, Expr e1, Operator op, Expr e2)
          Build a binary operator call.
static Expr Exprs.buildBinary(int from, Location loc, Expr e1, Expr op, Expr e2)
          Build a binary operator call where a function is used as an infix binary operator.
static Expr Exprs.buildExpr(int from, Location loc, Expr e, FunDef[] where)
          Build an expression with a list of function definitions defined by "where".
static Expr Exprs.buildExpr(int from, Location loc, Expr e, FunBinding[] where)
          Build an expression with a list of compiled function definitions defined by "where".
static Expr Exprs.buildLet(int from, Location loc, FunDef[] defs)
          Build an expression with a list of function definitions defined by "let".
static Expr Exprs.buildLet(int from, Location loc, FunBinding[] bindings)
          Build an expression with a list of compiled function definitions defined by "let"
static Expr Exprs.buildBound(int from, Location loc, Binding b)
          Create an expression for a compiled variable.
static Expr Exprs.buildTuple(int from, Location loc, FunDef[] flds)
          Build an expression for tuple definition.
static Expr Exprs.buildTuple(int from, Location loc, Binding self, FunBinding[] flds)
          Build an expression for tuple definition.
static Expr Exprs.buildList(int from, Location loc, Expr[] elems)
          Build an expression for a list.
static Expr Exprs.buildMethodCall(int from, Location loc, Expr e, java.lang.String fname, Expr[] args)
          Build an expression for a tuple method call.
static Expr Exprs.buildFieldUpdate(int from, Location loc, Expr e, Binding self, FunBinding[] flds)
          Build an expression for a compiled tuple field update.
static Expr Exprs.buildFieldUpdate(int from, Location loc, Expr e, FunDef[] flds)
          Build an expression for tuple field update.
static Expr Exprs.buildLamda(int from, Location loc, Alternative alt)
          Build an expression for lamda abstraction.
static Expr Exprs.buildLamda(int from, Location loc, Param[] params, Expr body)
          Build an expression for lamda abstraction.
static Expr Exprs.buildSubtuple(int from, Location loc, Expr e, java.lang.String[] flds)
          Build an expression for subtuple expression.
 Expr Alternative.getBody()
          Get the function body.
 

Methods in jfun.jaskell.ast with parameters of type Expr
 InterpolatedString InterpolatedString.setExprs(Expr[] exprs)
          replace the sub-expressions.
static Expr Exprs.buildCall(int from, Location loc, Expr n, Expr[] args)
          Build a function call expression.
static Expr Exprs.buildIfElse(int from, Location loc, Expr cond, Expr yes, Expr no)
          Build a if-else expression.
static Expr Exprs.buildIf(int from, Location loc, Expr cond, Expr consequence)
          Build a if expression.
static Expr Exprs.buildUnary(int from, Location loc, Operator op, Expr e)
          Build a unary operator call.
static Expr Exprs.buildBinary(int from, Location loc, Expr e1, Operator op, Expr e2)
          Build a binary operator call.
static Expr Exprs.buildBinary(int from, Location loc, Expr e1, Expr op, Expr e2)
          Build a binary operator call where a function is used as an infix binary operator.
static Expr Exprs.buildExpr(int from, Location loc, Expr e, FunDef[] where)
          Build an expression with a list of function definitions defined by "where".
static Expr Exprs.buildExpr(int from, Location loc, Expr e, FunBinding[] where)
          Build an expression with a list of compiled function definitions defined by "where".
static Expr Exprs.buildList(int from, Location loc, Expr[] elems)
          Build an expression for a list.
static Expr Exprs.buildMethodCall(int from, Location loc, Expr e, java.lang.String fname, Expr[] args)
          Build an expression for a tuple method call.
static Expr Exprs.buildFieldUpdate(int from, Location loc, Expr e, Binding self, FunBinding[] flds)
          Build an expression for a compiled tuple field update.
static Expr Exprs.buildFieldUpdate(int from, Location loc, Expr e, FunDef[] flds)
          Build an expression for tuple field update.
static Expr Exprs.buildLamda(int from, Location loc, Param[] params, Expr body)
          Build an expression for lamda abstraction.
static Expr Exprs.buildSubtuple(int from, Location loc, Expr e, java.lang.String[] flds)
          Build an expression for subtuple expression.
 java.lang.Object ExprVisitor.visitCall(int from, Location loc, Expr name, Expr[] args)
          Visit a function call.
 java.lang.Object ExprVisitor.visitUnary(int from, Location loc, Operator op, Expr e)
          Visit a unary operator call.
 java.lang.Object ExprVisitor.visitBinary(int from, Location loc, Expr e1, Operator op, Expr e2)
          Visit a binary operator call.
 java.lang.Object ExprVisitor.visitBinary(int from, Location loc, Expr e1, Expr op, Expr e2)
          Visit a binary operator call where the operator is an infix function.
 java.lang.Object ExprVisitor.visitExpr(int from, Location loc, Expr e1, FunDef[] where)
          Visit an expression with a list of uncompiled function definitions.
 java.lang.Object ExprVisitor.visitExpr(int from, Location loc, Expr e1, FunBinding[] where)
          Visit an expression with a list of compiled function definitions.
 java.lang.Object ExprVisitor.visitIfElse(int from, Location loc, Expr cond, Expr yes, Expr no)
          Visit an if-else expression.
 java.lang.Object ExprVisitor.visitIf(int from, Location loc, Expr cond, Expr consequence)
          visit an if expression.
 java.lang.Object ExprVisitor.visitList(int from, Location loc, Expr[] list)
          Visit a list.
 java.lang.Object ExprVisitor.visitMethodCall(int from, Location loc, Expr f, java.lang.String fname, Expr[] args)
          Visit a tuple method call.
 java.lang.Object ExprVisitor.visitFieldUpdate(int from, Location loc, Expr t, FunDef[] flds)
          Visit an uncompiled tuple field update.
 java.lang.Object ExprVisitor.visitFieldUpdate(int from, Location loc, Expr t, Binding self, FunBinding[] flds)
          Visit a compiled tuple field update.
 java.lang.Object ExprVisitor.visitSubtuple(int from, Location loc, Expr t, java.lang.String[] flds)
          visit a subtuple expression.
 

Constructors in jfun.jaskell.ast with parameters of type Expr
InterpolatedString(int[] indices, int[] lengths, Expr[] exprs, java.lang.String str)
           
Alternative(Param[] params, Expr body)