Class Literal

  • All Implemented Interfaces:
    AstNode

    public final class Literal
    extends Object
    implements AstNode
    Literal output.
    Since:
    0.1
    • Constructor Detail

      • Literal

        public Literal​(Object value)
        Constructor.
        Parameters:
        value - Literal value
    • Method Detail

      • 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.
      • 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.