Class DefaultSymbolTable.DefaultSymbol
- java.lang.Object
-
- jmri.jmrit.logixng.implementation.DefaultSymbolTable.DefaultSymbol
-
- All Implemented Interfaces:
SymbolTable.Symbol
- Enclosing class:
- DefaultSymbolTable
public static class DefaultSymbolTable.DefaultSymbol extends java.lang.Object implements SymbolTable.Symbol
-
-
Constructor Summary
Constructors Constructor Description DefaultSymbol(java.lang.String name, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
The index on the stack for this symboljava.lang.String
getName()
The name of the symbol
-
-
-
Constructor Detail
-
DefaultSymbol
public DefaultSymbol(java.lang.String name, int index)
-
-
Method Detail
-
getName
public java.lang.String getName()
The name of the symbol- Specified by:
getName
in interfaceSymbolTable.Symbol
- Returns:
- the name
-
getIndex
public int getIndex()
The index on the stack for this symbol- Specified by:
getIndex
in interfaceSymbolTable.Symbol
- Returns:
- the index
-
-