Interface AssemblyResolution
- All Superinterfaces:
Comparable<AssemblyResolution>
- All Known Subinterfaces:
AssemblyResolvedBackfill,AssemblyResolvedError,AssemblyResolvedPatterns
- All Known Implementing Classes:
AbstractAssemblyResolution,DefaultAssemblyResolvedBackfill,DefaultAssemblyResolvedError,DefaultAssemblyResolvedPatterns
-
Method Summary
ChangeModifier and TypeMethodDescriptionvoidNEWNEWNEWgetRight()booleanCheck if this record has childrenbooleanCheck if this record describes a backfillbooleanisError()Check if this record describes an errorDisplay the resolution result in one line (omitting child details)Get this same resolution, pushing its right siblings down to its childrenshift(int amt) Shift the resolution's instruction pattern to the right, if applicabletoString()Used only by parents: get a multi-line description of this record, indentedREMOVEDinthashCode() RemovedREMOVEDintRemovedREMOVEDAssemblyResolvedPatternsinstrOnly(AssemblyPatternBlock ins, String description) RemovedREMOVEDAssemblyResolvedPatternscontextOnly(AssemblyPatternBlock ctx, String description) RemovedREMOVEDAssemblyResolvedPatternsfromPattern(DisjointPattern pat, int minLen, String description, Constructor cons) RemovedREMOVEDAssemblyResolvedBackfillbackfill(PatternExpression exp, MaskedLong goal, int inslen, String description) RemovedREMOVEDAssemblyResolvedPatternsnop(String description) RemovedREMOVEDAssemblyResolvedErrorerror(String error, String description) RemovedREMOVEDAssemblyResolutionerror(String error, AssemblyResolvedPatterns res) RemovedREMOVEDList<AssemblyResolution>RemovedREMOVEDStringchildrenToString(String indent) RemovedREMOVEDintcompareTo(AssemblyResolution that) RemovedREMOVEDAssemblyResolutionRemovedREMOVEDAssemblyResolutionwithRight(AssemblyResolution right) RemovedMethods 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.
-
getDescription NEW
String getDescription() -
getChildren NEW
List<AssemblyResolution> getChildren() -
hasChildren
boolean hasChildren()Check if this record has childrenIf 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
Shift the resolution's instruction pattern to the right, if applicableThis also shifts any backfill and forbidden pattern records.
- Parameters:
amt- the number of bytes to shift.- Returns:
- the result
-
parent
Get this same resolution, pushing its right siblings down to its children -
collectAllRight
-
toString
Used only by parents: get a multi-line description of this record, indented- Parameters:
indent- the current indentation- Returns:
- the indented description
-