Package ghidra.app.plugin.assembler.sleigh.parse

# Class AssemblyParseAcceptResult

java.lang.Object
ghidra.app.plugin.assembler.sleigh.parse.AssemblyParseResult
ghidra.app.plugin.assembler.sleigh.parse.AssemblyParseAcceptResult

All Implemented Interfaces:
  `Comparable<AssemblyParseResult>`

public class AssemblyParseAcceptResult extends AssemblyParseResult
A successful result from parsing

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `AssemblyParseAcceptResult(AssemblyParseBranch tree)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AssemblyParseBranch`
  `getTree()`
  Get the tree
  `boolean`
  `isError()`
  Check if the parse result is successful or an error
  `String`
  `toString()`

  ### Methods inherited from class ghidra.app.plugin.assembler.sleigh.parse.AssemblyParseResult

  `accept, compareTo, error`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### AssemblyParseAcceptResult

    protected AssemblyParseAcceptResult(AssemblyParseBranch tree)
    See Also:
      - `AssemblyParseResult.accept(AssemblyParseBranch)`

- ## Method Details

  - ### isError

    public boolean isError()
    Description copied from class: `AssemblyParseResult`
    Check if the parse result is successful or an error
    Specified by:
      `isError` in class `AssemblyParseResult`
    Returns:
      true if the result describes an error

  - ### getTree

    public AssemblyParseBranch getTree()
    Get the tree
    Returns:
      the tree

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`