Sha256: c19f4f3b6c89c68d283b71fe0fffca2e11ac91e557cb80405efdea99a1700bab
Contents?: true
Size: 1.47 KB
Versions: 1
Compression:
Stored size: 1.47 KB
Contents
# typed: strict module Prism::Reflection end class Prism::Reflection::Field sig { returns(Symbol) } attr_reader :name sig { params(name: Symbol).void } def initialize(name); end end class Prism::Reflection::NodeField < Prism::Reflection::Field end class Prism::Reflection::OptionalNodeField < Prism::Reflection::Field end class Prism::Reflection::NodeListField < Prism::Reflection::Field end class Prism::Reflection::ConstantField < Prism::Reflection::Field end class Prism::Reflection::OptionalConstantField < Prism::Reflection::Field end class Prism::Reflection::ConstantListField < Prism::Reflection::Field end class Prism::Reflection::StringField < Prism::Reflection::Field end class Prism::Reflection::LocationField < Prism::Reflection::Field end class Prism::Reflection::OptionalLocationField < Prism::Reflection::Field end class Prism::Reflection::UInt8Field < Prism::Reflection::Field end class Prism::Reflection::UInt32Field < Prism::Reflection::Field end class Prism::Reflection::FlagsField < Prism::Reflection::Field sig { returns(T::Array[Symbol]) } attr_reader :flags sig { params(name: Symbol, flags: T::Array[Symbol]).void } def initialize(name, flags); end end class Prism::Reflection::IntegerField < Prism::Reflection::Field end class Prism::Reflection::DoubleField < Prism::Reflection::Field end module Prism::Reflection sig { params(node: T.class_of(Prism::Node)).returns(T::Array[Prism::Reflection::Field]) } def self.fields_for(node); end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prism-0.26.0 | rbi/prism/reflection.rbi |