/* Generated by JTB 1.5.1 */
package examples.java.ex2jtb.syntaxtree;

import examples.java.ex2jtb.Token;
import examples.java.ex2jtb.visitor.IGenVisitor;


/**
 * JTB node class for the production ASTAdditiveExpression:<br>
 * Corresponding grammar:<br>
 * f0 -> MultiplicativeExpression()<br>
 * f1 -> ( #0 ( %0 "+"<br>
 * .. .. . .. | %1 "-" )<br>
 * .. .. . #1 MultiplicativeExpression() )*<br>
 * s: -1807059397<br>
 */
public class ASTAdditiveExpression implements INode {

  /** Child node 0 */
  public ASTMultiplicativeExpression f0;

  /** Child node 1 */
  public NodeListOptional f1;

  /** The serial version UID */
  private static final long serialVersionUID = 151L;

  /**
   * Constructs the node with all its children nodes.
   *
   * @param n0 - first child node
   * @param n1 - next child node
   */
  public ASTAdditiveExpression(final ASTMultiplicativeExpression n0, final NodeListOptional n1) {
    f0 = n0;
    f1 = n1;
  }
  /*
   * Visitors accept methods (no -novis option, visitors specification : Gen,void,java.lang.String)
   */

  /**
   * Accepts a {@link IGenVisitor} visitor with user argument data.
   *
   * @param vis - the visitor
   * @param argu - the user Argument data
   */
  @Override
  public void accept(final IGenVisitor vis, final String argu) {
    vis.visit(this, argu);
  }


}
