org.ow2.mind.adl.jtb.syntaxtree.PrimitiveDefinition 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 -> [ <ABSTRACT> ]
* f2 -> <PRIMITIVE>
* f3 -> FullyQualifiedName()
* f4 -> [ FormalParameterDeclarationList() ]
* f5 -> [ ExtendedPrimitiveDefinitions() ]
* f6 -> PrimitiveDefinitionBody()
*
*/
public class PrimitiveDefinition implements Node {
public Annotations f0;
public NodeOptional f1;
public NodeToken f2;
public FullyQualifiedName f3;
public NodeOptional f4;
public NodeOptional f5;
public PrimitiveDefinitionBody f6;
public PrimitiveDefinition(Annotations n0, NodeOptional n1, NodeToken n2, FullyQualifiedName n3, NodeOptional n4, NodeOptional n5, PrimitiveDefinitionBody n6) {
f0 = n0;
f1 = n1;
f2 = n2;
f3 = n3;
f4 = n4;
f5 = n5;
f6 = n6;
}
public PrimitiveDefinition(Annotations n0, NodeOptional n1, FullyQualifiedName n2, NodeOptional n3, NodeOptional n4, PrimitiveDefinitionBody n5) {
f0 = n0;
f1 = n1;
f2 = new NodeToken("primitive");
f3 = n2;
f4 = n3;
f5 = n4;
f6 = n5;
}
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);
}
}