(.js)
laraImport("kadabra.KadabraNodes");
(.lara)
import kadabra.KadabraNodes;
Classes:
KadabraNodes
Utility methods related with the creation of new join points.
assignment(lhs, rhs)
Creates an assignment.
binaryExpression(operator, lhs, rhs)
Creates a binary expression.
comment(comment, [type = "block"])
Creates a comment node.
literal(literal-, type, literal)
Creates a literal node.
snippetExpr(code)
Creates an expression from code snippet.
unaryExpression(operator, operand)
Creates a unary expression.
var(localVariable, [isWrite = false])
Creates a reference to a local variable.