Class EmptyStatement

    • Method Detail

      • setLineNumber

        public void setLineNumber​(int lineNumber)
        Overrides:
        setLineNumber in class ASTNode
      • setColumnNumber

        public void setColumnNumber​(int columnNumber)
        Overrides:
        setColumnNumber in class ASTNode
      • setLastLineNumber

        public void setLastLineNumber​(int lastLineNumber)
        Overrides:
        setLastLineNumber in class ASTNode
      • setLastColumnNumber

        public void setLastColumnNumber​(int lastColumnNumber)
        Overrides:
        setLastColumnNumber in class ASTNode
      • setSourcePosition

        public void setSourcePosition​(ASTNode node)
        Description copied from class: ASTNode
        Sets the source position using another ASTNode. The sourcePosition consists of a line/column pair for the start and a line/column pair for the end of the expression or statement
        Overrides:
        setSourcePosition in class ASTNode
        Parameters:
        node - - the node used to configure the position information
      • copyNodeMetaData

        public void copyNodeMetaData​(NodeMetaDataHandler other)
        Description copied from interface: NodeMetaDataHandler
        Copies all node meta data from the other node to this one
        Parameters:
        other - - the other node
      • setNodeMetaData

        public void setNodeMetaData​(Object key,
                                    Object value)
        Description copied from interface: NodeMetaDataHandler
        Sets the node meta data.
        Parameters:
        key - - the meta data key
        value - - the meta data value
      • putNodeMetaData

        public Object putNodeMetaData​(Object key,
                                      Object value)
        Description copied from interface: NodeMetaDataHandler
        Sets the node meta data but allows overwriting values.
        Parameters:
        key - - the meta data key
        value - - the meta data value
        Returns:
        the old node meta data value for this key
      • removeNodeMetaData

        public void removeNodeMetaData​(Object key)
        Description copied from interface: NodeMetaDataHandler
        Removes a node meta data entry.
        Parameters:
        key - - the meta data key