public class SignalTreeComment
extends java.lang.Object
Constructor and Description |
---|
SignalTreeComment() |
Modifier and Type | Method and Description |
---|---|
void |
addComment(long node,
long vattrtree)
Add a commentTree to a node of the AST
|
void |
addStrComment(long node,
java.lang.String cstr,
boolean bpre)
Add a comment to a node of the AST
|
long |
getAnnotation(long t) |
long |
getAnnotations(long t,
long l) |
long |
getComment(long node,
boolean bpre)
Get the comment of a node
t of the AST |
public void addComment(long node, long vattrtree)
node
- the address of the node (ntree structure)commentTree
- the address of the comment (ntree structure)public void addStrComment(long node, java.lang.String cstr, boolean bpre)
node
- the address of the node (ntree structure)comment
- the string to add as commentpublic long getComment(long node, boolean bpre)
t
of the ASTnode
- the address of the nodepublic long getAnnotations(long t, long l)
t
- the treel
- the result treepublic long getAnnotation(long t)
t
-