Exemple #1
0
 /**
  * Constructs the node with only its non NodeToken child node(s).
  *
  * @param n0 first child node
  */
 public RIFConclusion(final RIFFormula n0) {
   f0 = new NodeToken("conclusion");
   if (f0 != null) f0.setParent(this);
   f1 = new NodeToken("(");
   if (f1 != null) f1.setParent(this);
   f2 = n0;
   if (f2 != null) f2.setParent(this);
   f3 = new NodeToken(")");
   if (f3 != null) f3.setParent(this);
 }
Exemple #2
0
 /**
  * Constructs the node with all its children nodes.
  *
  * @param n0 first child node
  * @param n1 next child node
  * @param n2 next child node
  * @param n3 next child node
  */
 public RIFConclusion(
     final NodeToken n0, final NodeToken n1, final RIFFormula n2, final NodeToken n3) {
   f0 = n0;
   if (f0 != null) f0.setParent(this);
   f1 = n1;
   if (f1 != null) f1.setParent(this);
   f2 = n2;
   if (f2 != null) f2.setParent(this);
   f3 = n3;
   if (f3 != null) f3.setParent(this);
 }
 public ServiceDeclaration(AnnotationDeclaration n0, NodeChoice n1, NodeToken n2) {
   annotationDeclaration = n0;
   if (annotationDeclaration != null) annotationDeclaration.setParent(this);
   nodeChoice = n1;
   if (nodeChoice != null) nodeChoice.setParent(this);
   nodeToken = new NodeToken("Service");
   if (nodeToken != null) nodeToken.setParent(this);
   nodeToken1 = n2;
   if (nodeToken1 != null) nodeToken1.setParent(this);
   nodeToken2 = new NodeToken(";");
   if (nodeToken2 != null) nodeToken2.setParent(this);
 }
 public AdapterStatement(AnnotationDeclaration n0, NodeToken n1, NodeListOptional n2) {
   annotationDeclaration = n0;
   if (annotationDeclaration != null) annotationDeclaration.setParent(this);
   nodeToken = new NodeToken("public");
   if (nodeToken != null) nodeToken.setParent(this);
   nodeToken1 = new NodeToken("Adapter");
   if (nodeToken1 != null) nodeToken1.setParent(this);
   nodeToken2 = n1;
   if (nodeToken2 != null) nodeToken2.setParent(this);
   nodeToken3 = new NodeToken("{");
   if (nodeToken3 != null) nodeToken3.setParent(this);
   nodeListOptional = n2;
   if (nodeListOptional != null) nodeListOptional.setParent(this);
   nodeToken4 = new NodeToken("}");
   if (nodeToken4 != null) nodeToken4.setParent(this);
 }
  public TimesExpression(PrimaryExpression n0, PrimaryExpression n1) {
    f0 = n0;
    if (f0 != null) f0.setParent(this);
    f1 = new NodeToken("*");
    if (f1 != null) f1.setParent(this);
    f2 = n1;
    if (f2 != null) f2.setParent(this);

    buildSubNodesList();
  }
 public AdapterStatement(
     AnnotationDeclaration n0,
     NodeToken n1,
     NodeToken n2,
     NodeToken n3,
     NodeToken n4,
     NodeListOptional n5,
     NodeToken n6) {
   annotationDeclaration = n0;
   if (annotationDeclaration != null) annotationDeclaration.setParent(this);
   nodeToken = n1;
   if (nodeToken != null) nodeToken.setParent(this);
   nodeToken1 = n2;
   if (nodeToken1 != null) nodeToken1.setParent(this);
   nodeToken2 = n3;
   if (nodeToken2 != null) nodeToken2.setParent(this);
   nodeToken3 = n4;
   if (nodeToken3 != null) nodeToken3.setParent(this);
   nodeListOptional = n5;
   if (nodeListOptional != null) nodeListOptional.setParent(this);
   nodeToken4 = n6;
   if (nodeToken4 != null) nodeToken4.setParent(this);
 }
 public CompilationUnit(
     NodeOptional n0, NodeListOptional n1, NodeListOptional n2, NodeOptional n3, NodeOptional n4) {
   f0 = n0;
   if (f0 != null) f0.setParent(this);
   f1 = n1;
   if (f1 != null) f1.setParent(this);
   f2 = n2;
   if (f2 != null) f2.setParent(this);
   f3 = n3;
   if (f3 != null) f3.setParent(this);
   f4 = n4;
   if (f4 != null) f4.setParent(this);
   f5 = new NodeToken("");
   if (f5 != null) f5.setParent(this);
 }
Exemple #8
0
 public AccessPart(NodeToken n0, NodeToken n1) {
   key = n0;
   if (key != null) key.setParent(this);
   value = n1;
   if (value != null) value.setParent(this);
 }
 public LiteralExpression() {
   f0 = new NodeToken("\"");
   if (f0 != null) f0.setParent(this);
 }
Exemple #10
0
 public LiteralExpression(NodeToken n0) {
   f0 = n0;
   if (f0 != null) f0.setParent(this);
 }