# Hierarchy For Package ghidra.sleigh.grammar

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - ghidra.sleigh.grammar.ANTLRUtil
  - org.antlr.runtime.BaseRecognizer
    - org.antlr.runtime.Lexer (implements org.antlr.runtime.TokenSource)
      - ghidra.sleigh.grammar.AbstractSleighLexer (implements ghidra.sleigh.grammar.SleighRecognizerConstants)
        - ghidra.sleigh.grammar.BaseLexer
        - ghidra.sleigh.grammar.DisplayLexer
        - ghidra.sleigh.grammar.DisplayLexer_BaseLexer
        - ghidra.sleigh.grammar.SemanticLexer
        - ghidra.sleigh.grammar.SemanticLexer_BaseLexer
      - ghidra.sleigh.grammar.BooleanExpressionLexer
    - org.antlr.runtime.Parser
      - ghidra.sleigh.grammar.AbstractSleighParser (implements ghidra.sleigh.grammar.SleighRecognizerConstants)
        - ghidra.sleigh.grammar.SleighParser
        - ghidra.sleigh.grammar.SleighParser_DisplayParser
        - ghidra.sleigh.grammar.SleighParser_SemanticParser
      - ghidra.sleigh.grammar.BooleanExpressionParser
    - org.antlr.runtime.tree.TreeParser
      - ghidra.sleigh.grammar.SleighCompiler
      - ghidra.sleigh.grammar.SleighEcho
  - ghidra.sleigh.grammar.BaseRecognizerOverride
  - org.antlr.runtime.CommonToken (implements java.io.Serializable, org.antlr.runtime.Token)
    - ghidra.sleigh.grammar.SleighToken
  - org.antlr.runtime.DFA
    - ghidra.sleigh.grammar.BaseLexer.DFA13
    - ghidra.sleigh.grammar.DisplayLexer_BaseLexer.DFA13
    - ghidra.sleigh.grammar.DisplayLexer.DFA2
    - ghidra.sleigh.grammar.SemanticLexer_BaseLexer.DFA13
    - ghidra.sleigh.grammar.SleighCompiler.DFA52
    - ghidra.sleigh.grammar.SleighCompiler.DFA57
    - ghidra.sleigh.grammar.SleighCompiler.DFA58
    - ghidra.sleigh.grammar.SleighEcho.DFA32
    - ghidra.sleigh.grammar.SleighEcho.DFA34
    - ghidra.sleigh.grammar.SleighParser_SemanticParser.DFA3
  - ghidra.sleigh.grammar.HashMapPreprocessorDefinitionsAdapter (implements ghidra.pcodeCPort.slgh_compile.PreprocessorDefinitions)
  - ghidra.sleigh.grammar.LexerMultiplexer (implements org.antlr.runtime.TokenSource)
    - ghidra.sleigh.grammar.SleighLexer (implements ghidra.sleigh.grammar.SleighRecognizerConstants)
  - ghidra.sleigh.grammar.Location
  - ghidra.sleigh.grammar.LocationUtil
  - ghidra.sleigh.grammar.Locator
  - java.lang.Number (implements java.io.Serializable)
    - java.math.BigInteger (implements java.lang.Comparable<T>)
      - ghidra.sleigh.grammar.RadixBigInteger
  - ghidra.sleigh.grammar.ParsingEnvironment
  - org.antlr.runtime.RuleReturnScope
    - org.antlr.runtime.ParserRuleReturnScope
      - ghidra.sleigh.grammar.SleighParser_DisplayParser.concatenate_return
      - ghidra.sleigh.grammar.SleighParser_DisplayParser.display_return
      - ghidra.sleigh.grammar.SleighParser_DisplayParser.pieces_return
      - ghidra.sleigh.grammar.SleighParser_DisplayParser.printpiece_return
      - ghidra.sleigh.grammar.SleighParser_DisplayParser.special_return
      - ghidra.sleigh.grammar.SleighParser_DisplayParser.whitespace_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.add_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.assignment_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.booland_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.build_stmt_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.call_stmt_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.code_block_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.compare_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.cond_stmt_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.constant_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.crossbuild_stmt_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.declaration_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.eq_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.export_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_add_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_and_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_and_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_apply_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_booland_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_boolor_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_boolor_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_comp_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_eq_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_func_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_mult_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_operands_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_or_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_or_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_shift_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_term_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_unary_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_xor_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.expr_xor_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.funcall_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.goto_stmt_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.jumpdest_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.label_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.lvalue_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.mult_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.outererror_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.return_stmt_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.section_def_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.semantic_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.semanticbody_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.sembitrange_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.shift_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.sizedexport_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.sizedstar_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.statement_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.statements_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.unary_op_return
      - ghidra.sleigh.grammar.SleighParser_SemanticParser.varnode_return
      - ghidra.sleigh.grammar.SleighParser.aligndef_return
      - ghidra.sleigh.grammar.SleighParser.arguments_return
      - ghidra.sleigh.grammar.SleighParser.bitpat_or_nil_return
      - ghidra.sleigh.grammar.SleighParser.bitpattern_return
      - ghidra.sleigh.grammar.SleighParser.bitrange_return
      - ghidra.sleigh.grammar.SleighParser.bitrangedef_return
      - ghidra.sleigh.grammar.SleighParser.bitranges_return
      - ghidra.sleigh.grammar.SleighParser.constraint_op_return
      - ghidra.sleigh.grammar.SleighParser.constraint_return
      - ghidra.sleigh.grammar.SleighParser.constructor_return
      - ghidra.sleigh.grammar.SleighParser.constructorlike_return
      - ghidra.sleigh.grammar.SleighParser.constructorlikelist_return
      - ghidra.sleigh.grammar.SleighParser.contextblock_return
      - ghidra.sleigh.grammar.SleighParser.contextdef_return
      - ghidra.sleigh.grammar.SleighParser.contextfielddef_return
      - ghidra.sleigh.grammar.SleighParser.contextfielddefs_return
      - ghidra.sleigh.grammar.SleighParser.contextfieldmod_return
      - ghidra.sleigh.grammar.SleighParser.contextfieldmods_return
      - ghidra.sleigh.grammar.SleighParser.ctorsemantic_return
      - ghidra.sleigh.grammar.SleighParser.ctorstart_return
      - ghidra.sleigh.grammar.SleighParser.ctxassign_return
      - ghidra.sleigh.grammar.SleighParser.ctxlval_return
      - ghidra.sleigh.grammar.SleighParser.ctxstmt_return
      - ghidra.sleigh.grammar.SleighParser.ctxstmts_return
      - ghidra.sleigh.grammar.SleighParser.def_or_conslike_return
      - ghidra.sleigh.grammar.SleighParser.definition_return
      - ghidra.sleigh.grammar.SleighParser.endian_return
      - ghidra.sleigh.grammar.SleighParser.endiandef_return
      - ghidra.sleigh.grammar.SleighParser.fielddef_return
      - ghidra.sleigh.grammar.SleighParser.fielddefs_return
      - ghidra.sleigh.grammar.SleighParser.fieldmod_return
      - ghidra.sleigh.grammar.SleighParser.fieldmods_return
      - ghidra.sleigh.grammar.SleighParser.id_or_nil_return
      - ghidra.sleigh.grammar.SleighParser.id_or_wild_return
      - ghidra.sleigh.grammar.SleighParser.identifier_return
      - ghidra.sleigh.grammar.SleighParser.identifierlist_return
      - ghidra.sleigh.grammar.SleighParser.intblist_return
      - ghidra.sleigh.grammar.SleighParser.intbpart_return
      - ghidra.sleigh.grammar.SleighParser.integer_return
      - ghidra.sleigh.grammar.SleighParser.key_as_id_return
      - ghidra.sleigh.grammar.SleighParser.macrodef_return
      - ghidra.sleigh.grammar.SleighParser.nameattach_return
      - ghidra.sleigh.grammar.SleighParser.neginteger_return
      - ghidra.sleigh.grammar.SleighParser.oplist_return
      - ghidra.sleigh.grammar.SleighParser.pcodeopdef_return
      - ghidra.sleigh.grammar.SleighParser.pequation_and_op_return
      - ghidra.sleigh.grammar.SleighParser.pequation_and_return
      - ghidra.sleigh.grammar.SleighParser.pequation_atomic_return
      - ghidra.sleigh.grammar.SleighParser.pequation_ellipsis_return
      - ghidra.sleigh.grammar.SleighParser.pequation_ellipsis_right_return
      - ghidra.sleigh.grammar.SleighParser.pequation_or_op_return
      - ghidra.sleigh.grammar.SleighParser.pequation_or_return
      - ghidra.sleigh.grammar.SleighParser.pequation_return
      - ghidra.sleigh.grammar.SleighParser.pequation_seq_op_return
      - ghidra.sleigh.grammar.SleighParser.pequation_seq_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_add_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_add_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_and_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_and_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_apply_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_func_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_mult_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_mult_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_operands_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_or_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_or_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_shift_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_shift_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_term_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_unary_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_unary_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_xor_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression_xor_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_add_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_add_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_and_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_and_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_apply_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_func_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_mult_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_mult_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_operands_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_or_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_or_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_shift_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_shift_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_term_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_unary_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_unary_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_xor_op_return
      - ghidra.sleigh.grammar.SleighParser.pexpression2_xor_return
      - ghidra.sleigh.grammar.SleighParser.pfuncall_return
      - ghidra.sleigh.grammar.SleighParser.qstring_return
      - ghidra.sleigh.grammar.SleighParser.sizemod_return
      - ghidra.sleigh.grammar.SleighParser.spacedef_return
      - ghidra.sleigh.grammar.SleighParser.spacemod_return
      - ghidra.sleigh.grammar.SleighParser.spacemods_return
      - ghidra.sleigh.grammar.SleighParser.spec_return
      - ghidra.sleigh.grammar.SleighParser.strict_id_return
      - ghidra.sleigh.grammar.SleighParser.stringorident_return
      - ghidra.sleigh.grammar.SleighParser.stringoridentlist_return
      - ghidra.sleigh.grammar.SleighParser.tokendef_return
      - ghidra.sleigh.grammar.SleighParser.type_return
      - ghidra.sleigh.grammar.SleighParser.typemod_return
      - ghidra.sleigh.grammar.SleighParser.valueattach_return
      - ghidra.sleigh.grammar.SleighParser.varattach_return
      - ghidra.sleigh.grammar.SleighParser.varnodedef_return
      - ghidra.sleigh.grammar.SleighParser.wildcard_return
      - ghidra.sleigh.grammar.SleighParser.withblock_return
      - ghidra.sleigh.grammar.SleighParser.wordsizemod_return
    - org.antlr.runtime.tree.TreeRuleReturnScope
      - ghidra.sleigh.grammar.SleighCompiler.id_or_nil_return
      - ghidra.sleigh.grammar.SleighCompiler.identifier_return
      - ghidra.sleigh.grammar.SleighEcho.endian_return
  - ghidra.sleigh.grammar.SleighCompiler.Block_scope
  - ghidra.sleigh.grammar.SleighCompiler.code_block_scope
  - ghidra.sleigh.grammar.SleighCompiler.contextdef_scope
  - ghidra.sleigh.grammar.SleighCompiler.ctorstart_scope
  - ghidra.sleigh.grammar.SleighCompiler.fielddef_scope
  - ghidra.sleigh.grammar.SleighCompiler.Jump_scope
  - ghidra.sleigh.grammar.SleighCompiler.macrodef_scope
  - ghidra.sleigh.grammar.SleighCompiler.Return_scope
  - ghidra.sleigh.grammar.SleighCompiler.semantic_scope
  - ghidra.sleigh.grammar.SleighCompiler.spacedef_scope
  - ghidra.sleigh.grammar.SleighCompiler.tokendef_scope
  - ghidra.sleigh.grammar.SleighParserRun
  - ghidra.sleigh.grammar.SleighPreprocessor (implements ghidra.sleigh.grammar.ExpressionEnvironment)
  - ghidra.sleigh.grammar.SourceFileIndexer
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - ghidra.sleigh.grammar.PreprocessorException
      - java.lang.RuntimeException
        - ghidra.sleigh.grammar.BailoutException
  - ghidra.sleigh.grammar.TokenExtractor
  - java.io.Writer (implements java.lang.Appendable, java.io.Closeable, java.io.Flushable)
    - ghidra.sleigh.grammar.LineArrayListWriter

## Interface Hierarchy

- ghidra.sleigh.grammar.ExpressionEnvironment
- ghidra.sleigh.grammar.SleighRecognizerConstants