public class ListAST extends ListNode<AST> implements AST<RippleList>
| Modifier and Type | Field and Description |
|---|---|
protected AST |
first |
protected ListAST |
rest |
| Constructor and Description |
|---|
ListAST()
Constructs a nil list AST.
|
ListAST(AST first,
ListAST rest)
Constructs a list AST with the given first element and rest.
|
public AST getFirst()
public ListAST getRest()
public ListAST invert()
public boolean isNil()
public void evaluate(Sink<RippleList> sink, QueryEngine qe, ModelConnection mc) throws RippleException
evaluate in interface AST<RippleList>RippleExceptionCopyright © 2007-2012 fortytwo.net. All Rights Reserved.