| java.lang.Object gnu.expr.Parser
Parser | public class Parser (Code) | | A very abstract "parser".
Converts some input representation to Expression trees.
|
Method Summary | |
public LambdaExp | currentLambda() | public ModuleExp | currentModule() | public ScopeExp | currentScope() | public void | error(char severity, String message) | public void | error(char severity, Declaration decl, String msg1, String msg2) | final public int | getColumn() | final public String | getFile() | public Interpreter | getInterpreter() | final public int | getLine() | public SourceMessages | getMessages() | public Declaration | lookup(String name, int namespace) | public void | mustCompileHere() Note that we have seen a construct that must be compiled, not evaluated. | public Expression | parse(Object input) This may not make sense, except for Lisp-like languages.
For those, 'input' an s-expression from the reader. | public void | pop(ScopeExp scope) | final public void | pop() | public void | push(ScopeExp scope) | public void | setColumn(int column) | public void | setFile(String filename) | public void | setLine(int line) | public void | setLine(String filename, int line, int column) | public void | setMessages(SourceMessages messages) |
current_column | protected int current_column(Code) | | |
current_line | protected int current_line(Code) | | |
immediate | public boolean immediate(Code) | | If doing immediate evaluation.
|
getColumn | final public int getColumn()(Code) | | |
getLine | final public int getLine()(Code) | | |
mustCompileHere | public void mustCompileHere()(Code) | | Note that we have seen a construct that must be compiled, not evaluated.
If we are not inside a lambda (which is always compiled), but
only inside the outer-most ModuleExp, note that it must be compiled.
|
parse | public Expression parse(Object input)(Code) | | This may not make sense, except for Lisp-like languages.
For those, 'input' an s-expression from the reader.
|
pop | final public void pop()(Code) | | |
setColumn | public void setColumn(int column)(Code) | | |
setLine | public void setLine(int line)(Code) | | |
setLine | public void setLine(String filename, int line, int column)(Code) | | |
|
|