org.ow2.mind.adl.jtb.syntaxtree.AnnotationParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adl-parser Show documentation
Show all versions of adl-parser Show documentation
Contains the parser of the ADL language of the Mind programming model.
//
// Generated by JTB 1.3.2
//
package org.ow2.mind.adl.jtb.syntaxtree;
/**
* Grammar production:
*
* f0 -> <LPAREN>
* f1 -> [ AnnotationValuePairs() | AnnotationValue() ]
* f2 -> <RPAREN>
*
*/
public class AnnotationParameters implements Node {
public NodeToken f0;
public NodeOptional f1;
public NodeToken f2;
public AnnotationParameters(NodeToken n0, NodeOptional n1, NodeToken n2) {
f0 = n0;
f1 = n1;
f2 = n2;
}
public AnnotationParameters(NodeOptional n0) {
f0 = new NodeToken("(");
f1 = n0;
f2 = new NodeToken(")");
}
public void accept(org.ow2.mind.adl.jtb.visitor.Visitor v) {
v.visit(this);
}
public R accept(org.ow2.mind.adl.jtb.visitor.GJVisitor v, A argu) {
return v.visit(this,argu);
}
public R accept(org.ow2.mind.adl.jtb.visitor.GJNoArguVisitor v) {
return v.visit(this);
}
public void accept(org.ow2.mind.adl.jtb.visitor.GJVoidVisitor v, A argu) {
v.visit(this,argu);
}
}