Removed Symbol parse node

Too much overlap with accessors, so now
all symbols are a special case of accessors
This commit is contained in:
ThaumRystra
2023-11-09 23:04:18 +02:00
parent 2117a63945
commit c25dcc0a09
5 changed files with 46 additions and 92 deletions

View File

@@ -10,7 +10,6 @@ import operator from './operator.js';
import parenthesis from './parenthesis.js';
import roll from './roll.js';
import rollArray from './rollArray.js';
import symbol from './symbol.js';
import unaryOperator from './unaryOperator.js';
export default Object.freeze({
@@ -26,6 +25,7 @@ export default Object.freeze({
parenthesis,
roll,
rollArray,
symbol,
// What used to be symbols are now just treated as accessors without a path
symbol: accessor,
unaryOperator,
});