Structs§
- Alias
Node - Alias
Type Node - Annotation
Node - AnyType
Node - Attr
Accessor Node - Attr
Reader Node - Attr
Writer Node - Block
Type Node - Bool
Node - Bool
Type Node - Bottom
Type Node - Class
Alias Annotation Node - Class
Alias Node - Class
Instance Type Node - Class
Instance Variable Node - Class
Node - Class
Singleton Type Node - Class
Super Node - Class
Type Node - Class
Variable Node - Colon
Method Type Annotation Node - Comment
Node - Constant
Node - Extend
Node - Function
Param Node - Function
Type Node - Global
Node - Include
Node - Instance
Type Node - Instance
Variable Annotation Node - Instance
Variable Node - Integer
Node - Interface
Node - Interface
Type Node - Intersection
Type Node - Literal
Type Node - Method
Definition Node - Method
Definition Overload Node - Method
Type Node - Method
Types Annotation Node - Module
Alias Annotation Node - Module
Alias Node - Module
Node - Module
Self Node - Namespace
Node - NilType
Node - Node
List - Node
List Iter - Node
Type Assertion Node - Optional
Type Node - Prepend
Node - Private
Node - Proc
Type Node - Public
Node - RBSHash
- RBSHash
Iter - RBSLocation
Range - RBSLocation
Range List - RBSLocation
Range List Iter - RBSString
- Record
Field Type Node - Record
Type Node - Return
Type Annotation Node - Self
Type Node - Signature
Node - Skip
Annotation Node - String
Node - Symbol
Node - TopType
Node - Tuple
Type Node - Type
Alias Node - Type
Application Annotation Node - Type
Name Node - Type
Param Node - Union
Type Node - Untyped
Function Type Node - UseNode
- UseSingle
Clause Node - UseWildcard
Clause Node - Variable
Type Node - Void
Type Node
Enums§
- Alias
Kind - Generated from config.yml enums.alias_kind
- Attr
Ivar Name - Instance variable name specification for attributes.
- Attribute
Kind - Generated from config.yml enums.attribute_kind
- Attribute
Visibility - Generated from config.yml enums.attribute_visibility
- Method
Definition Kind - Generated from config.yml enums.method_definition_kind
- Method
Definition Visibility - Generated from config.yml enums.method_definition_visibility
- Node
- Type
Param Variance - Generated from config.yml enums.type_param_variance
Traits§
- Visit
- A trait for traversing the AST using a visitor
Functions§
- parse
- Parse RBS code into an AST.
- visit_
alias_ node - visit_
alias_ type_ node - visit_
annotation_ node - visit_
any_ type_ node - visit_
attr_ accessor_ node - visit_
attr_ reader_ node - visit_
attr_ writer_ node - visit_
block_ type_ node - visit_
bool_ node - visit_
bool_ type_ node - visit_
bottom_ type_ node - visit_
class_ alias_ annotation_ node - visit_
class_ alias_ node - visit_
class_ instance_ type_ node - visit_
class_ instance_ variable_ node - visit_
class_ node - visit_
class_ singleton_ type_ node - visit_
class_ super_ node - visit_
class_ type_ node - visit_
class_ variable_ node - visit_
colon_ method_ type_ annotation_ node - visit_
comment_ node - visit_
constant_ node - visit_
extend_ node - visit_
function_ param_ node - visit_
function_ type_ node - visit_
global_ node - visit_
include_ node - visit_
instance_ type_ node - visit_
instance_ variable_ annotation_ node - visit_
instance_ variable_ node - visit_
integer_ node - visit_
interface_ node - visit_
interface_ type_ node - visit_
intersection_ type_ node - visit_
literal_ type_ node - visit_
method_ definition_ node - visit_
method_ definition_ overload_ node - visit_
method_ type_ node - visit_
method_ types_ annotation_ node - visit_
module_ alias_ annotation_ node - visit_
module_ alias_ node - visit_
module_ node - visit_
module_ self_ node - visit_
namespace_ node - visit_
nil_ type_ node - visit_
node_ type_ assertion_ node - visit_
optional_ type_ node - visit_
prepend_ node - visit_
private_ node - visit_
proc_ type_ node - visit_
public_ node - visit_
record_ field_ type_ node - visit_
record_ type_ node - visit_
return_ type_ annotation_ node - visit_
self_ type_ node - visit_
signature_ node - visit_
skip_ annotation_ node - visit_
string_ node - visit_
symbol_ node - visit_
top_ type_ node - visit_
tuple_ type_ node - visit_
type_ alias_ node - visit_
type_ application_ annotation_ node - visit_
type_ name_ node - visit_
type_ param_ node - visit_
union_ type_ node - visit_
untyped_ function_ type_ node - visit_
use_ node - visit_
use_ single_ clause_ node - visit_
use_ wildcard_ clause_ node - visit_
variable_ type_ node - visit_
void_ type_ node