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 protected
AssemblyParseAcceptResult(AssemblyParseBranch tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssemblyParseBranch
getTree()
Get the treeboolean
isError()
Check if the parse result is successful or an errorjava.lang.String
toString()
-
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:AssemblyParseResult
Check if the parse result is successful or an error- Specified by:
isError
in 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:
toString
in classjava.lang.Object
-
-