()
| 24 | Hashtable extensionRegistry; |
| 25 | |
| 26 | public Program() { |
| 27 | if (systemTable!=null) { |
| 28 | if (systemTable.length>table.length) |
| 29 | enlargeSymbolTable(); |
| 30 | stLoc = systemTable.length - 1; |
| 31 | for (int i=0; i<=stLoc; i++) |
| 32 | table[i] = systemTable[i]; |
| 33 | } else { |
| 34 | addKeywords(); |
| 35 | addFunctions(); |
| 36 | addNumericFunctions(); |
| 37 | addStringFunctions(); |
| 38 | addArrayFunctions(); |
| 39 | addVariableFunctions(); |
| 40 | systemTable = new Symbol[stLoc+1]; |
| 41 | for (int i=0; i<=stLoc; i++) |
| 42 | systemTable[i] = table[i]; |
| 43 | } |
| 44 | if (IJ.debugMode) IJ.log("Symbol table: "+(stLoc+1)+" "+table.length+" "+systemTable.length); |
| 45 | } |
| 46 | |
| 47 | public int[] getCode() { |
| 48 | return code; |
nothing calls this directly
no test coverage detected