class Prism::Reflection::FlagsField
A flags field represents a bitset of flags on a node. It resolves to an integer in Ruby. Note that the flags cannot be accessed directly on the node because the integer is kept private. Instead, the various flags in the bitset should be accessed through their query methods.
A flags field represents a bitset of flags on a node. It resolves to an integer in Ruby. Note that the flags cannot be accessed directly on the node because the integer is kept private. Instead, the various flags in the bitset should be accessed through their query methods.
Attributes
Public Class Methods
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/reflection.rb, line 107 def initialize(name, flags) super(name) @flags = flags end
Initializes the flags field with the given name and flags.
Initializes the flags field with the given name and flags.
: (Symbol name, Array flags) -> void
Calls superclass method
Prism::Reflection::Field::new