Class ASTReference

    • Method Detail

      • acceptVmVisitor

        protected <P,​R> R acceptVmVisitor​(VmVisitor<? super P,​? extends R> visitor,
                                                P data)
      • getRootString

        public String getRootString()
        Returns the 'root string', the reference key.
        Returns:
        the root string.
      • literal

        public String literal()
        Override of the SimpleNode method literal() Returns the literal representation of the node. Should be something like $<token>.
        Returns:
        A literal string.
      • acceptVisitor

        public final <P,​R> R acceptVisitor​(AstVisitor<? super P,​? extends R> visitor,
                                                 P data)
        Specified by:
        acceptVisitor in interface Node