Class RawXml

  • All Implemented Interfaces:
    AstNode, Xmir

    public final class RawXml
    extends Object
    implements AstNode
    This class represents a raw XML node. It is used to represent nodes that we don't know how to parse yet.
    Since:
    0.1
    • Constructor Detail

      • RawXml

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

      • opcodes

        public List<AstNode> opcodes()
        Description copied from interface: AstNode
        Bytecode instructions.
        Specified by:
        opcodes in interface AstNode
        Returns:
        List of opcodes.
      • 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.