Class AssemblyParseAcceptResult
- java.lang.Object
-
- ghidra.app.plugin.assembler.sleigh.parse.AssemblyParseResult
-
- ghidra.app.plugin.assembler.sleigh.parse.AssemblyParseAcceptResult
-
- All Implemented Interfaces:
java.lang.Comparable<AssemblyParseResult>
public class AssemblyParseAcceptResult extends AssemblyParseResult
A successful result from parsing
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAssemblyParseAcceptResult(AssemblyParseBranch tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssemblyParseBranchgetTree()Get the treebooleanisError()Check if the parse result is successful or an errorjava.lang.StringtoString()-
Methods inherited from class ghidra.app.plugin.assembler.sleigh.parse.AssemblyParseResult
accept, compareTo, error
-
-
-
-
Constructor Detail
-
AssemblyParseAcceptResult
protected AssemblyParseAcceptResult(AssemblyParseBranch tree)
-
-
Method Detail
-
isError
public boolean isError()
Description copied from class:AssemblyParseResultCheck if the parse result is successful or an error- Specified by:
isErrorin classAssemblyParseResult- Returns:
- true if the result describes an error
-
getTree
public AssemblyParseBranch getTree()
Get the tree- Returns:
- the tree
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-