blob: 417bcaeff8a7307de4698c3ef2ae68278efe72a4 [file] [edit]
nodes:
- name: RBS::AST::Annotation
fields:
- name: string
- name: location
- name: RBS::AST::Comment
fields:
- name: string
- name: location
- name: RBS::AST::Declarations::Class
fields:
- name: name
- name: type_params
- name: super_class
- name: members
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Declarations::Class::Super
fields:
- name: name
- name: args
- name: location
- name: RBS::AST::Declarations::ClassAlias
fields:
- name: new_name
- name: old_name
- name: location
- name: comment
- name: annotations
- name: RBS::AST::Declarations::Constant
fields:
- name: name
- name: type
- name: location
- name: comment
- name: annotations
- name: RBS::AST::Declarations::Global
fields:
- name: name
- name: type
- name: location
- name: comment
- name: annotations
- name: RBS::AST::Declarations::Interface
fields:
- name: name
- name: type_params
- name: members
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Declarations::Module
fields:
- name: name
- name: type_params
- name: self_types
- name: members
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Declarations::Module::Self
fields:
- name: name
- name: args
- name: location
- name: RBS::AST::Declarations::ModuleAlias
fields:
- name: new_name
- name: old_name
- name: location
- name: comment
- name: annotations
- name: RBS::AST::Declarations::TypeAlias
fields:
- name: name
- name: type_params
- name: type
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Directives::Use
fields:
- name: clauses
- name: location
- name: RBS::AST::Directives::Use::SingleClause
fields:
- name: type_name
- name: new_name
- name: location
- name: RBS::AST::Directives::Use::WildcardClause
fields:
- name: namespace
- name: location
- name: RBS::AST::Members::Alias
fields:
- name: new_name
- name: old_name
- name: kind
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Members::AttrAccessor
fields:
- name: name
- name: type
- name: ivar_name
- name: kind
- name: annotations
- name: location
- name: comment
- name: visibility
- name: RBS::AST::Members::AttrReader
fields:
- name: name
- name: type
- name: ivar_name
- name: kind
- name: annotations
- name: location
- name: comment
- name: visibility
- name: RBS::AST::Members::AttrWriter
fields:
- name: name
- name: type
- name: ivar_name
- name: kind
- name: annotations
- name: location
- name: comment
- name: visibility
- name: RBS::AST::Members::ClassInstanceVariable
fields:
- name: name
- name: type
- name: location
- name: comment
- name: RBS::AST::Members::ClassVariable
fields:
- name: name
- name: type
- name: location
- name: comment
- name: RBS::AST::Members::Extend
fields:
- name: name
- name: args
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Members::Include
fields:
- name: name
- name: args
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Members::InstanceVariable
fields:
- name: name
- name: type
- name: location
- name: comment
- name: RBS::AST::Members::MethodDefinition
fields:
- name: name
- name: kind
- name: overloads
- name: annotations
- name: location
- name: comment
- name: overloading
- name: visibility
- name: RBS::AST::Members::MethodDefinition::Overload
fields:
- name: annotations
- name: method_type
- name: RBS::AST::Members::Prepend
fields:
- name: name
- name: args
- name: annotations
- name: location
- name: comment
- name: RBS::AST::Members::Private
fields:
- name: location
- name: RBS::AST::Members::Public
fields:
- name: location
- name: RBS::AST::TypeParam
fields:
- name: name
- name: variance
- name: upper_bound
- name: default_type
- name: unchecked
- name: location
- name: RBS::MethodType
fields:
- name: type_params
- name: type
- name: block
- name: location
- name: RBS::Namespace
fields:
- name: path
- name: absolute
- name: RBS::TypeName
fields:
- name: namespace
- name: name
- name: RBS::Types::Alias
fields:
- name: name
- name: args
- name: location
- name: RBS::Types::Bases::Any
fields:
- name: todo
- name: location
- name: RBS::Types::Bases::Bool
fields:
- name: location
- name: RBS::Types::Bases::Bottom
fields:
- name: location
- name: RBS::Types::Bases::Class
fields:
- name: location
- name: RBS::Types::Bases::Instance
fields:
- name: location
- name: RBS::Types::Bases::Nil
fields:
- name: location
- name: RBS::Types::Bases::Self
fields:
- name: location
- name: RBS::Types::Bases::Top
fields:
- name: location
- name: RBS::Types::Bases::Void
fields:
- name: location
- name: RBS::Types::Block
fields:
- name: type
- name: required
- name: self_type
- name: RBS::Types::ClassInstance
fields:
- name: name
- name: args
- name: location
- name: RBS::Types::ClassSingleton
fields:
- name: name
- name: location
- name: RBS::Types::Function
fields:
- name: required_positionals
- name: optional_positionals
- name: rest_positionals
- name: trailing_positionals
- name: required_keywords
- name: optional_keywords
- name: rest_keywords
- name: return_type
- name: RBS::Types::Function::Param
fields:
- name: type
- name: name
- name: location
- name: RBS::Types::Interface
fields:
- name: name
- name: args
- name: location
- name: RBS::Types::Intersection
fields:
- name: types
- name: location
- name: RBS::Types::Literal
fields:
- name: literal
- name: location
- name: RBS::Types::Optional
fields:
- name: type
- name: location
- name: RBS::Types::Proc
fields:
- name: type
- name: block
- name: location
- name: self_type
- name: RBS::Types::Record
fields:
- name: all_fields
- name: location
- name: RBS::Types::Tuple
fields:
- name: types
- name: location
- name: RBS::Types::Union
fields:
- name: types
- name: location
- name: RBS::Types::UntypedFunction
fields:
- name: return_type
- name: RBS::Types::Variable
fields:
- name: name
- name: location
- name: RBS::AST::Ruby::Annotation::SkipAnnotation
fields:
- name: location
- name: comment
- name: prefix_location
- name: skip_location
- name: RBS::AST::Ruby::Annotation::ColonMethodTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: annotations
- name: method_type
- name: RBS::AST::Ruby::Annotation::MethodTypesAnnotation
fields:
- name: location
- name: prefix_location
- name: overloads
- name: vertical_bar_locations
- name: RBS::AST::Ruby::Annotation::MethodTypesAnnotation::Overload
fields:
- name: annotations
- name: method_type
- name: RBS::AST::Ruby::Annotation::ReturnTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: return_location
- name: colon_location
- name: return_type
- name: comment
- name: RBS::AST::Ruby::Annotation::ParamTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: param_name_location
- name: colon_location
- name: type
- name: comment
- name: RBS::AST::Ruby::Annotation::SplatParamTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: operator_location
- name: param_name_location
- name: colon_location
- name: type
- name: comment
- name: RBS::AST::Ruby::Annotation::DoubleSplatParamTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: operator_location
- name: param_name_location
- name: colon_location
- name: type
- name: comment
- name: RBS::AST::Ruby::Annotation::BlockParamTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: operator_location
- name: param_name_location
- name: colon_location
- name: question_mark_location
- name: block
- name: comment
- name: RBS::AST::Ruby::Annotation::OverrideAnnotation
fields:
- name: location
- name: prefix_location
- name: override_location
- name: RBS::AST::Ruby::Annotation::GenericAnnotation
fields:
- name: location
- name: prefix_location
- name: generic_location
- name: unchecked_location
- name: variance_location
- name: name_location
- name: upper_bound_operator_location
- name: upper_bound
- name: default_type_operator_location
- name: default_type
- name: comment
- name: RBS::AST::Ruby::Annotation::RBSAnnotationAnnotation
fields:
- name: location
- name: prefix_location
- name: annotations
- name: RBS::AST::Ruby::Annotation::NodeTypeAssertion
fields:
- name: location
- name: prefix_location
- name: type
- name: RBS::AST::Ruby::Annotation::NodeApplication
fields:
- name: location
- name: prefix_location
- name: types
- name: suffix_location
- name: RBS::AST::Ruby::Annotation::ModuleSelfAnnotation
fields:
- name: location
- name: prefix_location
- name: module_self_location
- name: type_name
- name: type_name_location
- name: open_paren_location
- name: type_args
- name: close_paren_location
- name: comment
- name: RBS::AST::Ruby::Annotation::InheritsAnnotation
fields:
- name: location
- name: prefix_location
- name: inherits_location
- name: type_name
- name: type_name_location
- name: open_paren_location
- name: type_args
- name: close_paren_location
- name: comment
- name: RBS::AST::Ruby::Annotation::IvarTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: var_name_location
- name: colon_location
- name: type
- name: comment
- name: RBS::AST::Ruby::Annotation::ClassVarTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: var_name_location
- name: colon_location
- name: type
- name: comment
- name: RBS::AST::Ruby::Annotation::ClassIvarTypeAnnotation
fields:
- name: location
- name: prefix_location
- name: self_location
- name: dot_location
- name: var_name_location
- name: colon_location
- name: type
- name: comment
- name: RBS::AST::Ruby::Annotation::EmbeddedRBSAnnotation
fields:
- name: location
- name: prefix_location
- name: members