Class AssemblyParseState

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(AssemblyParseState that)  
      protected java.util.Set<AssemblyParseStateItem> decorated()  
      boolean equals​(java.lang.Object that)  
      java.util.Set<AssemblyParseStateItem> getClosure()
      Get the closure of this item, caching the result
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecorator

        add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, setCollection, size, toArray, toArray
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
    • Constructor Detail

      • AssemblyParseState

        public AssemblyParseState​(AssemblyGrammar grammar)
        Construct a new state associated with the given grammar
        Parameters:
        grammar - the grammar
      • AssemblyParseState

        public AssemblyParseState​(AssemblyGrammar grammar,
                                  AssemblyParseStateItem item)
        Construct a new state associated with the given grammar, seeded with the given item
        Parameters:
        grammar - the grammar
        item - an item in the state