org.ow2.mind.adl.jtb.syntaxtree.InterfaceDefinition 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 -> ( <PROVIDES> | <REQUIRES> )
* f2 -> [ <OPTIONAL> ]
* f3 -> FullyQualifiedName()
* f4 -> <AS>
* f5 -> <IDENTIFIER>
* f6 -> [ <LBRACKET> [ <INTEGER_LITERAL> ] <RBRACKET> ]
* f7 -> [ <SEMICOLON> ]
*
*/
public class InterfaceDefinition implements Node {
public Annotations f0;
public NodeChoice f1;
public NodeOptional f2;
public FullyQualifiedName f3;
public NodeToken f4;
public NodeToken f5;
public NodeOptional f6;
public NodeOptional f7;
public InterfaceDefinition(Annotations n0, NodeChoice n1, NodeOptional n2, FullyQualifiedName n3, NodeToken n4, NodeToken n5, NodeOptional n6, NodeOptional n7) {
f0 = n0;
f1 = n1;
f2 = n2;
f3 = n3;
f4 = n4;
f5 = n5;
f6 = n6;
f7 = n7;
}
public InterfaceDefinition(Annotations n0, NodeChoice n1, NodeOptional n2, FullyQualifiedName n3, NodeToken n4, NodeOptional n5, NodeOptional n6) {
f0 = n0;
f1 = n1;
f2 = n2;
f3 = n3;
f4 = new NodeToken("as");
f5 = n4;
f6 = n5;
f7 = n6;
}
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);
}
}