diff --git a/ssc/symbol.cs b/ssc/symbol.cs index 92af0bd..d418c08 100644 --- a/ssc/symbol.cs +++ b/ssc/symbol.cs @@ -23,6 +23,10 @@ namespace arookas { public IEnumerable<sunVariableSymbol> Variables { get { return mSymbols.OfType<sunVariableSymbol>(); } } public IEnumerable<sunConstantSymbol> Constants { get { return mSymbols.OfType<sunConstantSymbol>(); } } + public sunSymbol this[int index] { + get { return mSymbols[index]; } + } + public sunSymbolTable() { mSymbols = new List<sunSymbol>(10); }