public class Test extends CodeVisitor
Constructor and Description |
---|
Test() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
visitApply(Code expressions) |
protected java.lang.Object |
visitCatch(java.lang.String param,
java.lang.Object expressions) |
protected java.lang.Object |
visitData(java.lang.String operator,
java.lang.String data) |
protected java.lang.Object |
visitDefine(java.lang.String definee,
Code params,
java.lang.Object body) |
protected java.lang.Object |
visitDo(Code bindings,
Code exit,
Code body) |
protected java.lang.Object |
visitFor(java.lang.String param,
java.lang.Object range,
java.lang.Object expressions) |
protected java.lang.Object |
visitIf(java.lang.Object test_exp,
java.lang.Object then_exp,
java.lang.Object else_exp) |
protected java.lang.Object |
visitLambda(Code params,
java.lang.Object body) |
protected java.lang.Object |
visitLet(Code bindings,
java.lang.Object body) |
protected java.lang.Object |
visitLiteral(java.lang.String literal) |
protected java.lang.Object |
visitObject(java.lang.Object obj) |
protected java.lang.Object |
visitOperation(java.lang.String operator,
Code expressions) |
protected java.lang.Object |
visitQuote(java.lang.String data) |
protected java.lang.Object |
visitSeq(Code expressions) |
protected java.lang.Object |
visitTry(java.lang.Object body,
Code catcher) |
getCurrentExpression, visit, visit
protected java.lang.Object visitLiteral(java.lang.String literal)
visitLiteral
in class CodeVisitor
protected java.lang.Object visitDefine(java.lang.String definee, Code params, java.lang.Object body)
visitDefine
in class CodeVisitor
protected java.lang.Object visitLambda(Code params, java.lang.Object body)
visitLambda
in class CodeVisitor
protected java.lang.Object visitLet(Code bindings, java.lang.Object body)
visitLet
in class CodeVisitor
protected java.lang.Object visitSeq(Code expressions)
visitSeq
in class CodeVisitor
protected java.lang.Object visitApply(Code expressions)
visitApply
in class CodeVisitor
protected java.lang.Object visitObject(java.lang.Object obj)
visitObject
in class CodeVisitor
protected java.lang.Object visitIf(java.lang.Object test_exp, java.lang.Object then_exp, java.lang.Object else_exp)
visitIf
in class CodeVisitor
protected java.lang.Object visitFor(java.lang.String param, java.lang.Object range, java.lang.Object expressions)
visitFor
in class CodeVisitor
protected java.lang.Object visitTry(java.lang.Object body, Code catcher)
visitTry
in class CodeVisitor
protected java.lang.Object visitCatch(java.lang.String param, java.lang.Object expressions)
visitCatch
in class CodeVisitor
protected java.lang.Object visitOperation(java.lang.String operator, Code expressions)
visitOperation
in class CodeVisitor
protected java.lang.Object visitData(java.lang.String operator, java.lang.String data)
visitData
in class CodeVisitor
protected java.lang.Object visitQuote(java.lang.String data)
visitQuote
in class CodeVisitor
protected java.lang.Object visitDo(Code bindings, Code exit, Code body)
visitDo
in class CodeVisitor