Class Field

java.lang.Object
org.eolang.opeo.ast.Field
All Implemented Interfaces:
Typed, Xmir

public final class Field extends Object implements Xmir, Typed
Access to a field.
Since:
0.1
  • Constructor Details

    • Field

      public Field(org.eolang.jeo.representation.xmir.XmlNode node, Parser parser)
      Constructor.
      Parameters:
      node - XMIR root node of the field.
      parser - Parser that will be used to parse the child nodes of the field.
    • Field

      public Field(AstNode instance, Attributes attributes)
      Constructor.
      Parameters:
      instance - Object reference from which the field is accessed
      attributes - Field attributes
  • Method Details

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

      public org.objectweb.asm.Type type()
      Description copied from interface: Typed
      Node type.
      Specified by:
      type in interface Typed
      Returns:
      Type.