public class DefaultCodeBuilder extends Object implements CodeBuilder
Modifier and Type | Class and Description |
---|---|
class |
DefaultCodeBuilder.BaseArguments |
class |
DefaultCodeBuilder.BaseCaller |
class |
DefaultCodeBuilder.BaseCode |
class |
DefaultCodeBuilder.BaseIdentifier |
Constructor and Description |
---|
DefaultCodeBuilder() |
Modifier and Type | Method and Description |
---|---|
Code |
add(Code op1,
Code op2) |
Code |
and(Code op1,
Code op2) |
Code.Caller.Arguments |
args() |
Code.Constant |
constant(Object value) |
Code |
div(Code op1,
Code op2) |
Code |
eq(Code op1,
Code op2) |
Code.Caller |
function(String name,
Code.Caller.Arguments args) |
Code.Caller |
function(String name,
int type,
Code.Caller.Arguments args) |
Code |
ge(Code op1,
Code op2) |
Code |
gt(Code op1,
Code op2) |
Code.Identifier |
identifier(String name) |
Code |
ilike(Code op1,
Code op2) |
Code |
is(Code op1,
Code op2) |
Code |
le(Code op1,
Code op2) |
Code |
like(Code op1,
Code op2) |
Code |
lt(Code op1,
Code op2) |
Code |
mod(Code op1,
Code op2) |
Code |
mult(Code op1,
Code op2) |
Code |
ne(Code op1,
Code op2) |
Code |
not(Code op1) |
Code.Caller |
operator(String name,
Code arg1) |
Code.Caller |
operator(String name,
Code arg1,
Code arg2) |
Code |
or(Code op1,
Code op2) |
Code |
regexp(Code op1,
Code op2) |
Code |
subst(Code op1,
Code op2) |
public Code.Constant constant(Object value)
constant
in interface CodeBuilder
public Code.Identifier identifier(String name)
identifier
in interface CodeBuilder
public Code.Caller.Arguments args()
args
in interface CodeBuilder
public Code.Caller function(String name, int type, Code.Caller.Arguments args)
function
in interface CodeBuilder
public Code.Caller function(String name, Code.Caller.Arguments args)
function
in interface CodeBuilder
public Code.Caller operator(String name, Code arg1)
operator
in interface CodeBuilder
public Code.Caller operator(String name, Code arg1, Code arg2)
operator
in interface CodeBuilder
public Code not(Code op1)
not
in interface CodeBuilder
public Code add(Code op1, Code op2)
add
in interface CodeBuilder
public Code subst(Code op1, Code op2)
subst
in interface CodeBuilder
public Code mult(Code op1, Code op2)
mult
in interface CodeBuilder
public Code div(Code op1, Code op2)
div
in interface CodeBuilder
public Code mod(Code op1, Code op2)
mod
in interface CodeBuilder
public Code or(Code op1, Code op2)
or
in interface CodeBuilder
public Code and(Code op1, Code op2)
and
in interface CodeBuilder
public Code like(Code op1, Code op2)
like
in interface CodeBuilder
public Code ilike(Code op1, Code op2)
ilike
in interface CodeBuilder
public Code regexp(Code op1, Code op2)
regexp
in interface CodeBuilder
public Code lt(Code op1, Code op2)
lt
in interface CodeBuilder
public Code gt(Code op1, Code op2)
gt
in interface CodeBuilder
public Code le(Code op1, Code op2)
le
in interface CodeBuilder
public Code ge(Code op1, Code op2)
ge
in interface CodeBuilder
public Code eq(Code op1, Code op2)
eq
in interface CodeBuilder
public Code ne(Code op1, Code op2)
ne
in interface CodeBuilder
public Code is(Code op1, Code op2)
is
in interface CodeBuilder