Class AssemblyEOI
- java.lang.Object
 - 
- ghidra.app.plugin.assembler.sleigh.symbol.AssemblySymbol
 - 
- ghidra.app.plugin.assembler.sleigh.symbol.AssemblyTerminal
 - 
- ghidra.app.plugin.assembler.sleigh.symbol.AssemblyEOI
 
 
 
 
- 
- All Implemented Interfaces:
 java.lang.Comparable<AssemblySymbol>
public class AssemblyEOI extends AssemblyTerminal
A terminal that accepts the end of input 
- 
- 
Field Summary
Fields Modifier and Type Field Description static AssemblyEOIEOIThe end-of-input terminal- 
Fields inherited from class ghidra.app.plugin.assembler.sleigh.symbol.AssemblySymbol
name 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>getSuggestions(java.lang.String got, java.util.Map<java.lang.String,java.lang.Long> labels)Provide a collection of strings that this terminal would have acceptedjava.util.Collection<AssemblyParseToken>match(java.lang.String buffer, int pos, AssemblyGrammar grammar, java.util.Map<java.lang.String,java.lang.Long> labels)Attempt to match a token from the input buffer starting at a given positionjava.lang.StringtoString()- 
Methods inherited from class ghidra.app.plugin.assembler.sleigh.symbol.AssemblySymbol
compareTo, equals, getName, hashCode, takesOperandIndex 
 - 
 
 - 
 
- 
- 
Field Detail
- 
EOI
public static final AssemblyEOI EOI
The end-of-input terminal 
 - 
 
- 
Method Detail
- 
toString
public java.lang.String toString()
- Specified by:
 toStringin classAssemblySymbol
 
- 
match
public java.util.Collection<AssemblyParseToken> match(java.lang.String buffer, int pos, AssemblyGrammar grammar, java.util.Map<java.lang.String,java.lang.Long> labels)
Description copied from class:AssemblyTerminalAttempt to match a token from the input buffer starting at a given position- Specified by:
 matchin classAssemblyTerminal- Parameters:
 buffer- the input bufferpos- the cursor position in the buffergrammar- the grammar containing this terminallabels- the program labels, if applicable- Returns:
 - the matched token, or null
 
 
- 
getSuggestions
public java.util.Collection<java.lang.String> getSuggestions(java.lang.String got, java.util.Map<java.lang.String,java.lang.Long> labels)Description copied from class:AssemblyTerminalProvide a collection of strings that this terminal would have accepted- Specified by:
 getSuggestionsin classAssemblyTerminal- Parameters:
 got- the remaining contents of the input bufferlabels- the program labels, if applicable- Returns:
 - a, possibly empty, collection of suggestions
 
 
 - 
 
 -