summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prism/config.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/prism/config.yml b/prism/config.yml
index 5f20c80f16..7e71e4e50b 100644
--- a/prism/config.yml
+++ b/prism/config.yml
@@ -364,6 +364,11 @@ flags:
- name: HEXADECIMAL
comment: "0x prefix"
comment: Flags for integer nodes that correspond to the base of the integer.
+ - name: KeywordHashNodeFlags
+ values:
+ - name: STATIC_KEYS
+ comment: "a keyword hash which only has `AssocNode` elements all with static literal keys, which means the elements can be treated as keyword arguments"
+ comment: Flags for keyword hash nodes.
- name: LoopFlags
values:
- name: BEGIN_MODIFIER
@@ -1821,6 +1826,9 @@ nodes:
^^^^^^^^^^^^^^^^
- name: KeywordHashNode
fields:
+ - name: flags
+ type: flags
+ kind: KeywordHashNodeFlags
- name: elements
type: node[]
comment: |