|
|||||
| FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
An constant expression that consists of a single term.
| Field Summary | |
|---|---|
GTerm |
term
|
| Constructor Summary | |
GSimpleExpression(String termDef)
Constructor (from String) |
|
GSimpleExpression(GTerm term)
|
|
| Method Summary | |
|---|---|
Iterator |
evaluate(Object env)
|
Object |
getAt(String idx)
|
Object |
getAt(Object idx)
|
GTerm |
getTerm()
|
GExpression |
multiply(Number factor)
|
GExpression |
negative()
|
GExpression |
scale(Number factor)
|
| Constructor Detail |
|---|
public GSimpleExpression(String termDef)
public GSimpleExpression(GTerm term)
| Method Detail |
|---|
public Iterator evaluate(Object env)
public Object getAt(String idx)
public Object getAt(Object idx)
public GTerm getTerm()
public GExpression multiply(Number factor)
public GExpression negative()
public GExpression scale(Number factor)