Class Modifiers

  • All Implemented Interfaces:
    INode, java.io.Serializable

    public class Modifiers
    extends java.lang.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      NodeListOptional f0
      Child node 0
      • Fields inherited from interface EDU.purdue.jtb.parser.syntaxtree.INode

        LS
    • Constructor Summary

      Constructors 
      Constructor Description
      Modifiers​(NodeListOptional n0)
      Constructs the node with its child node.
    • Constructor Detail

      • Modifiers

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

      • 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