
org.ow2.mind.adl.jtb.syntaxtree.CompositeAnonymousDefinition 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 -> Annotations()
* f1 -> <COMPOSITE>
* f2 -> <LBRACE>
* f3 -> ( CompositeDefinitionElement() )*
* f4 -> <RBRACE>
*
*/
public class CompositeAnonymousDefinition implements Node {
public Annotations f0;
public NodeToken f1;
public NodeToken f2;
public NodeListOptional f3;
public NodeToken f4;
public CompositeAnonymousDefinition(Annotations n0, NodeToken n1, NodeToken n2, NodeListOptional n3, NodeToken n4) {
f0 = n0;
f1 = n1;
f2 = n2;
f3 = n3;
f4 = n4;
}
public CompositeAnonymousDefinition(Annotations n0, NodeListOptional n1) {
f0 = n0;
f1 = new NodeToken("composite");
f2 = new NodeToken("{");
f3 = n1;
f4 = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy