private IEnumerable <VariableType> GetLocalConstants(string scope) { SymbolTable table = GetScopeSymbols(scope); return(table.Where(kv => kv.Value.kind == Kind.CONST) .OrderBy(kv => kv.Value.pos)); }
private IEnumerable <VariableType> GetParams(string scope) { SymbolTable table = GetScopeSymbols(scope); return(table.Where(kv => kv.Value.kind == Kind.PARAM) .OrderBy(kv => kv.Value.pos)); }