Module: Prism::IntegerBaseFlags

Defined in:
lib/prism/node.rb

Overview

Flags for integer nodes that correspond to the base of the integer.

Constant Summary collapse

BINARY =

0b prefix

1 << 2
DECIMAL =

0d or no prefix

1 << 3
OCTAL =

0o or 0 prefix

1 << 4
HEXADECIMAL =

0x prefix

1 << 5