Class Modifiers

java.lang.Object
EDU.purdue.jtb.parser.syntaxtree.Modifiers
All Implemented Interfaces:
INode, Serializable

public class Modifiers extends Object implements INode
JTB node class for the production Modifiers:
Corresponding grammar:
f0 -> ( ( %00 "public"
.. .. . | %01 "static"
.. .. . | %02 "protected"
.. .. . | %03 "private"
.. .. . | %04 "final"
.. .. . | %05 "abstract"
.. .. . | %06 "synchronized"
.. .. . | %07 "native"
.. .. . | %08 "transient"
.. .. . | %09 "volatile"
.. .. . | %10 "strictfp"
.. .. . | %11 Annotation() ) )*
s: -2047145049
See Also:
  • Field Details

  • Constructor Details

    • Modifiers

      public Modifiers(NodeListOptional n0)
      Constructs the node with its child node.
      Parameters:
      n0 - - the child node
  • Method Details

    • accept

      public int accept(IIntVisitor vis)
      Accepts a IIntVisitor visitor with user return data.
      Specified by:
      accept in interface INode
      Parameters:
      vis - - the visitor
      Returns:
      the user Return data
    • accept

      public void accept(IVoidVisitor vis)
      Accepts a IVoidVisitor visitor} visitor with user return data.
      Specified by:
      accept in interface INode
      Parameters:
      vis - - the visitor