Class Reference

  • All Implemented Interfaces:
    AstNode

    public final class Reference
    extends Object
    implements AstNode
    Object reference in the stack.
    Since:
    0.1
    • Constructor Detail

      • Reference

        public Reference()
        Constructor.
      • Reference

        public Reference​(AtomicReference<AstNode> ref)
        Constructor.
        Parameters:
        ref - Object reference.
    • Method Detail

      • link

        public void link​(AstNode node)
        Link this reference with the given object.
        Parameters:
        node - Object to link with.
      • print

        public String print()
        Description copied from interface: AstNode
        Print ast node and all it's children.
        Specified by:
        print in interface AstNode
        Returns:
        String output.
      • toXmir

        public Iterable<org.xembly.Directive> toXmir()
        Description copied from interface: AstNode
        Convert node to XMIR.
        Specified by:
        toXmir in interface AstNode
        Returns:
        XMIR XML.