Class TypeNode

    • Field Detail

      • classloader

        protected java.lang.ClassLoader classloader
    • Constructor Detail

      • TypeNode

        public TypeNode​(jadex.javaparser.javaccimpl.ParserImpl p,
                        int id)
        Create an expression node.
        Parameters:
        p - The parser.
        id - The id.
    • Method Detail

      • appendText

        public void appendText​(java.lang.String text)
        Append to the token text.
        Overrides:
        appendText in class ExpressionNode
        Parameters:
        text - The text to append.
      • getValue

        public java.lang.Object getValue​(IValueFetcher fetcher)
        Evaluate the expression in the given state with respect to given parameters.
        Specified by:
        getValue in interface IParsedExpression
        Specified by:
        getValue in class ExpressionNode
        Parameters:
        params - The parameters (string, value pairs), if any.
        Returns:
        The value of the term.
      • toPlainString

        public java.lang.String toPlainString()
        Create a string representation of this node and its subnodes.
        Specified by:
        toPlainString in interface Node
        Overrides:
        toPlainString in class ExpressionNode
        Returns:
        A string representation of this node.
      • equals

        public boolean equals​(java.lang.Object o)
        Test if two nodes are equal.
        Overrides:
        equals in class ExpressionNode
      • hashCode

        public int hashCode()
        Get the hash code for the node.
        Overrides:
        hashCode in class ExpressionNode