Interface AssemblyResolution

All Superinterfaces:
Comparable<AssemblyResolution>
All Known Subinterfaces:
AssemblyResolvedBackfill, AssemblyResolvedError, AssemblyResolvedPatterns
All Known Implementing Classes:
AbstractAssemblyResolution, DefaultAssemblyResolvedBackfill, DefaultAssemblyResolvedError, DefaultAssemblyResolvedPatterns

public interface AssemblyResolution extends Comparable<AssemblyResolution>
  • Method Summary

    Change
    Modifier and Type
    Method
    Description
    void
     
    NEW
     
    NEW
     
    NEW
     
    boolean
    Check if this record has children
    boolean
    Check if this record describes a backfill
    boolean
    Check if this record describes an error
    Display the resolution result in one line (omitting child details)
    parent(String description, int opCount)
    Get this same resolution, pushing its right siblings down to its children
    shift(int amt)
    Shift the resolution's instruction pattern to the right, if applicable
    toString(String indent)
    Used only by parents: get a multi-line description of this record, indented
    REMOVED
    int
    Removed
    REMOVED
    int
    Removed
    REMOVED
    AssemblyResolvedPatterns
    instrOnly(AssemblyPatternBlock ins, String description)
    Removed
    REMOVED
    AssemblyResolvedPatterns
    contextOnly(AssemblyPatternBlock ctx, String description)
    Removed
    REMOVED
    AssemblyResolvedPatterns
    fromPattern(DisjointPattern pat, int minLen, String description, Constructor cons)
    Removed
    REMOVED
    AssemblyResolvedBackfill
    backfill(PatternExpression exp, MaskedLong goal, int inslen, String description)
    Removed
    REMOVED
    AssemblyResolvedPatterns
    nop(String description)
    Removed
    REMOVED
    AssemblyResolvedError
    error(String error, String description)
    Removed
    REMOVED
    AssemblyResolution
    error(String error, AssemblyResolvedPatterns res)
    Removed
    REMOVED
    List<AssemblyResolution>
    Removed
    REMOVED
    String
    childrenToString(String indent)
    Removed
    REMOVED
    int
    compareTo(AssemblyResolution that)
    Removed
    REMOVED
    AssemblyResolution
    Removed
    REMOVED
    AssemblyResolution
    withRight(AssemblyResolution right)
    Removed

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • toString

      String toString()

      Describe this record including indented children, grandchildren, etc., each on its own line.

      Overrides:
      toString in class Object
    • getDescription NEW

      String getDescription()
    • getChildren NEW

      List<AssemblyResolution> getChildren()
    • hasChildren

      boolean hasChildren()
      Check if this record has children

      If a subclass has another, possibly additional, notion of children that it would like to include in toString(), it must override this method to return true when such children are present.

      Returns:
      true if this record has children
    • getRight NEW

      AssemblyResolution getRight()
    • lineToString

      String lineToString()
      Display the resolution result in one line (omitting child details)
      Returns:
      the display description
    • isBackfill

      boolean isBackfill()
      Check if this record describes a backfill
      Returns:
      true if the record is a backfill
    • isError

      boolean isError()
      Check if this record describes an error
      Returns:
      true if the record is an error
    • shift

      AssemblyResolution shift(int amt)
      Shift the resolution's instruction pattern to the right, if applicable

      This also shifts any backfill and forbidden pattern records.

      Parameters:
      amt - the number of bytes to shift.
      Returns:
      the result
    • parent

      AssemblyResolution parent(String description, int opCount)
      Get this same resolution, pushing its right siblings down to its children
    • collectAllRight

      void collectAllRight(Collection<AssemblyResolution> into)
    • toString

      String toString(String indent)
      Used only by parents: get a multi-line description of this record, indented
      Parameters:
      indent - the current indentation
      Returns:
      the indented description