|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Location | |
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 Location in jfun.jaskell |
Methods in jfun.jaskell with parameters of type Location | |
java.lang.Object |
LocationAware.informLocation(java.lang.Object obj,
Location loc)
Transform an evaluated object to an object that has the location information recorded somewhere. |
Constructors in jfun.jaskell with parameters of type Location | |
CompilationException(Location l,
java.lang.String msg)
Create a CompilationException. |
Uses of Location in jfun.jaskell.ast |
Methods in jfun.jaskell.ast that return Location | |
Location |
FunDef.getLocation()
|
Location |
FunBinding.getLocation()
|
Methods in jfun.jaskell.ast with parameters of type Location | |
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. |
java.lang.Object |
ExprVisitor.visitChar(int from,
Location loc,
java.lang.Character c)
Visit a character literal. |
java.lang.Object |
ExprVisitor.visitBool(int from,
Location loc,
boolean v)
Visit a bool literal. |
java.lang.Object |
ExprVisitor.visitNumber(int from,
Location loc,
java.lang.Double num)
Visit a decimal number literal. |
java.lang.Object |
ExprVisitor.visitInteger(int from,
Location loc,
java.lang.Integer num)
Visit a integer literal. |
java.lang.Object |
ExprVisitor.visitString(int from,
Location loc,
java.lang.String s)
Visit a string literal. |
java.lang.Object |
ExprVisitor.visitInterpolatedString(int from,
Location loc,
InterpolatedString str)
Visit an interpolated string literal. |
java.lang.Object |
ExprVisitor.visitVar(int from,
Location loc,
java.lang.String name)
Visit a variable. |
java.lang.Object |
ExprVisitor.visitOpExpr(int from,
Location loc,
Operator op)
Visit an operator used as function. |
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.visitLet(int from,
Location loc,
FunDef[] defs)
Visit an uncompiled let statement. |
java.lang.Object |
ExprVisitor.visitLet(int from,
Location loc,
FunBinding[] binding)
Visit a compiled let statement. |
java.lang.Object |
ExprVisitor.visitLamda(int from,
Location loc,
Alternative alt)
Visit a lamda abstraction. |
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.visitBound(int from,
Location loc,
Binding binding)
Visit a reference of a Binding. |
java.lang.Object |
ExprVisitor.visitTuple(int from,
Location loc,
FunDef[] flds)
Visit an uncompiled tuple definition. |
java.lang.Object |
ExprVisitor.visitList(int from,
Location loc,
Expr[] list)
Visit a list. |
java.lang.Object |
ExprVisitor.visitTuple(int from,
Location loc,
Binding self,
FunBinding[] flds)
Visit a compiled tuple definition. |
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 Location | |
FunDef(int from,
java.lang.String name,
Alternative[] alternatives,
Location loc)
Create a FunDef object. |
|
FunBinding(Binding name,
int pnum,
Alternative[] alternatives,
Location loc)
Create a FunBinding object. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |