Class Label

  • All Implemented Interfaces:
    AstNode, Xmir

    public final class Label
    extends Object
    implements AstNode
    Label ast node.
    Since:
    0.1
    • Constructor Detail

      • Label

        public Label​(org.eolang.jeo.representation.xmir.XmlNode node)
        Constructor.
        Parameters:
        node - XML node.
      • Label

        public Label​(String identifier)
        Constructor.
        Parameters:
        identifier - Label identifier.
    • Method Detail

      • toXmir

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

        public List<AstNode> opcodes()
        Description copied from interface: AstNode
        Bytecode instructions.
        Specified by:
        opcodes in interface AstNode
        Returns:
        List of opcodes.