Interface AstNode

All Superinterfaces:
ReadOnlyAstNode
All Known Subinterfaces:
AstArray, AstObject, NativeAstArray, NativeAstObject
All Known Implementing Classes:
AstObjectWrapper, ListAstArray, ListBasedAstArray, MapAstObject, MapBasedAstObject

public interface AstNode extends ReadOnlyAstNode
Author:
Bruno Salmon
  • Method Details

    • clear

      void clear()
      Removes all entries.
    • asObject

      default AstObject asObject()
      Removes the first instance of the given value from the list.
      Specified by:
      asObject in interface ReadOnlyAstNode
      Returns:
      Whether the item was removed.
    • asArray

      default AstArray asArray()
      Specified by:
      asArray in interface ReadOnlyAstNode