org.ow2.mind.adl.jtb.syntaxtree.ExtendedPrimitiveDefinitions 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 -> <EXTENDS>
* f1 -> PrimitiveDefinitionReference()
* f2 -> ( <COMMA> PrimitiveDefinitionReference() )*
*
*/
public class ExtendedPrimitiveDefinitions implements Node {
public NodeToken f0;
public PrimitiveDefinitionReference f1;
public NodeListOptional f2;
public ExtendedPrimitiveDefinitions(NodeToken n0, PrimitiveDefinitionReference n1, NodeListOptional n2) {
f0 = n0;
f1 = n1;
f2 = n2;
}
public ExtendedPrimitiveDefinitions(PrimitiveDefinitionReference n0, NodeListOptional n1) {
f0 = new NodeToken("extends");
f1 = n0;
f2 = n1;
}
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);
}
}