[ruby/prism] Document IntegerNode fields

https://github.com/ruby/prism/commit/77280b2807
This commit is contained in:
Sanjay Karukamanna 2024-01-03 05:28:03 +00:00 committed by git
parent fc48a67906
commit 06a65ce641

View File

@ -1758,6 +1758,17 @@ nodes:
- name: flags
type: flags
kind: IntegerBaseFlags
comment: |
Represents flag indicating the base of the integer
10 base decimal, value 10
0d10 base decimal, value 10
0b10 base binary, value 2
0o10 base octal, value 8
010 base octal, value 8
0x10 base hexidecimal, value 16
A 0 prefix indicates the number has a different base.
The d, b, o, and x prefixes indicate the base. If one of those
four letters is omitted, the base is assumed to be octal.
comment: |
Represents an integer number literal.