org.ow2.mind.adl.jtb.syntaxtree.Path 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 -> [ <SLASH> ]
* f1 -> [ <DOT> <SLASH> ]
* f2 -> ( <DOTDOT> <SLASH> )*
* f3 -> <IDENTIFIER>
* f4 -> ( <SLASH> <IDENTIFIER> )*
* f5 -> <DOT>
* f6 -> <IDENTIFIER>
*
*/
public class Path implements Node {
public NodeOptional f0;
public NodeOptional f1;
public NodeListOptional f2;
public NodeToken f3;
public NodeListOptional f4;
public NodeToken f5;
public NodeToken f6;
public Path(NodeOptional n0, NodeOptional n1, NodeListOptional n2, NodeToken n3, NodeListOptional n4, NodeToken n5, NodeToken n6) {
f0 = n0;
f1 = n1;
f2 = n2;
f3 = n3;
f4 = n4;
f5 = n5;
f6 = n6;
}
public Path(NodeOptional n0, NodeOptional n1, NodeListOptional n2, NodeToken n3, NodeListOptional n4, NodeToken n5) {
f0 = n0;
f1 = n1;
f2 = n2;
f3 = n3;
f4 = n4;
f5 = new NodeToken(".");
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);
}
}