Modules§
- rbs_
alias_ kind - rbs_
attr_ ivar_ name_ tag - rbs_
attribute_ kind - rbs_
attribute_ visibility - rbs_
encoding_ type_ t - rbs_
method_ definition_ kind - rbs_
method_ definition_ visibility - rbs_
node_ type - rbs_
type_ param_ variance
Structs§
- __
Bindgen Bitfield Unit - id_
table - rbs_
allocator - rbs_
allocator_ page - rbs_
ast_ annotation - rbs_
ast_ bool - rbs_
ast_ comment - rbs_
ast_ declarations_ class - rbs_
ast_ declarations_ class_ alias - rbs_
ast_ declarations_ class_ super - rbs_
ast_ declarations_ constant - rbs_
ast_ declarations_ global - rbs_
ast_ declarations_ interface - rbs_
ast_ declarations_ module - rbs_
ast_ declarations_ module_ alias - rbs_
ast_ declarations_ module_ self - rbs_
ast_ declarations_ type_ alias - rbs_
ast_ directives_ use - rbs_
ast_ directives_ use_ single_ clause - rbs_
ast_ directives_ use_ wildcard_ clause - rbs_
ast_ integer - rbs_
ast_ members_ alias - rbs_
ast_ members_ attr_ accessor - rbs_
ast_ members_ attr_ reader - rbs_
ast_ members_ attr_ writer - rbs_
ast_ members_ class_ instance_ variable - rbs_
ast_ members_ class_ variable - rbs_
ast_ members_ extend - rbs_
ast_ members_ include - rbs_
ast_ members_ instance_ variable - rbs_
ast_ members_ method_ definition - rbs_
ast_ members_ method_ definition_ overload - rbs_
ast_ members_ prepend - rbs_
ast_ members_ private - rbs_
ast_ members_ public - rbs_
ast_ ruby_ annotations_ class_ alias_ annotation - rbs_
ast_ ruby_ annotations_ colon_ method_ type_ annotation - rbs_
ast_ ruby_ annotations_ instance_ variable_ annotation - rbs_
ast_ ruby_ annotations_ method_ types_ annotation - rbs_
ast_ ruby_ annotations_ module_ alias_ annotation - rbs_
ast_ ruby_ annotations_ node_ type_ assertion - rbs_
ast_ ruby_ annotations_ return_ type_ annotation - rbs_
ast_ ruby_ annotations_ skip_ annotation - rbs_
ast_ ruby_ annotations_ type_ application_ annotation - rbs_
ast_ string - rbs_
ast_ symbol rbs_ast_symbol_tmodels user-defined identifiers like class names, method names, etc. These get stored in the parser’s own constant pool, and get surfaced to Ruby asSymbols.- rbs_
ast_ type_ param - rbs_
attr_ ivar_ name - rbs_
comment_ t - comment represents a sequence of comment lines.
- rbs_
constant_ pool_ bucket_ t - A bucket in the hash map.
- rbs_
constant_ pool_ t - The overall constant pool, which stores constants found while parsing.
- rbs_
constant_ t - A constant in the pool which effectively stores a string.
- rbs_
encoding_ t - This struct defines the functions necessary to implement the encoding interface so we can determine how many bytes the subsequent character takes. Each callback should return the number of bytes, or 0 if the next bytes are invalid for the encoding and type.
- rbs_
error_ t - rbs_
hash - rbs_
hash_ node - rbs_
lexer_ t - The lexer state is the curren token.
- rbs_
location_ range - rbs_
location_ range_ list - rbs_
location_ range_ list_ node - rbs_
method_ type - rbs_
namespace - rbs_
node - rbs_
node_ list - rbs_
node_ list_ node - rbs_
parser_ t - An RBS parser is a LL(3) parser.
- rbs_
position_ t - The
byte_pos(orchar_pos) is the primary data. The rest are cache. - rbs_
range_ t - rbs_
signature - rbs_
string_ t - rbs_
token_ t - rbs_
type_ name - rbs_
types_ alias - rbs_
types_ bases_ any - rbs_
types_ bases_ bool - rbs_
types_ bases_ bottom - rbs_
types_ bases_ class - rbs_
types_ bases_ instance - rbs_
types_ bases_ nil - rbs_
types_ bases_ self - rbs_
types_ bases_ top - rbs_
types_ bases_ void - rbs_
types_ block - rbs_
types_ class_ instance - rbs_
types_ class_ singleton - rbs_
types_ function - rbs_
types_ function_ param - rbs_
types_ interface - rbs_
types_ intersection - rbs_
types_ literal - rbs_
types_ optional - rbs_
types_ proc - rbs_
types_ record - rbs_
types_ record_ field_ type - rbs_
types_ tuple - rbs_
types_ union - rbs_
types_ untyped_ function - rbs_
types_ variable
Constants§
- RBSToken
Type_ Error Token - RBSToken
Type_ Null Type - RBSToken
Type_ kALIAS - RBSToken
Type_ kAS - RBSToken
Type_ kATRBS - RBSToken
Type_ kATTRACCESSOR - RBSToken
Type_ kATTRREADER - RBSToken
Type_ kATTRWRITER - RBSToken
Type_ kBOOL - RBSToken
Type_ kBOT - RBSToken
Type_ kCLASS - RBSToken
Type_ kCLASSALIAS - RBSToken
Type_ kDEF - RBSToken
Type_ kEND - RBSToken
Type_ kEXTEND - RBSToken
Type_ kFALSE - RBSToken
Type_ kIN - RBSToken
Type_ kINCLUDE - RBSToken
Type_ kINSTANCE - RBSToken
Type_ kINTERFACE - RBSToken
Type_ kMODULE - RBSToken
Type_ kMODULEALIAS - RBSToken
Type_ kNIL - RBSToken
Type_ kOUT - RBSToken
Type_ kPREPEND - RBSToken
Type_ kPRIVATE - RBSToken
Type_ kPUBLIC - RBSToken
Type_ kRETURN - RBSToken
Type_ kSELF - RBSToken
Type_ kSINGLETON - RBSToken
Type_ kSKIP - RBSToken
Type_ kTOP - RBSToken
Type_ kTRUE - RBSToken
Type_ kTYPE - RBSToken
Type_ kUNCHECKED - RBSToken
Type_ kUNTYPED - RBSToken
Type_ kUSE - RBSToken
Type_ kVOID - RBSToken
Type_ k__ TODO__ - RBSToken
Type_ pAMP - RBSToken
Type_ pAREF_ OPR - RBSToken
Type_ pARROW - RBSToken
Type_ pBANG - RBSToken
Type_ pBAR - RBSToken
Type_ pCOLON - RBSToken
Type_ pCOLO N2 - RBSToken
Type_ pCOMMA - RBSToken
Type_ pDOT - RBSToken
Type_ pDOT3 - RBSToken
Type_ pEOF - RBSToken
Type_ pEQ - RBSToken
Type_ pFATARROW - RBSToken
Type_ pGT - RBSToken
Type_ pHAT - RBSToken
Type_ pLBRACE - RBSToken
Type_ pLBRACKET - RBSToken
Type_ pLPAREN - RBSToken
Type_ pLT - RBSToken
Type_ pQUESTION - RBSToken
Type_ pRBRACE - RBSToken
Type_ pRBRACKET - RBSToken
Type_ pRPAREN - RBSToken
Type_ pSTAR - RBSToken
Type_ pSTA R2 - RBSToken
Type_ tA2IDENT - RBSToken
Type_ tAIDENT - RBSToken
Type_ tANNOTATION - RBSToken
Type_ tBANGIDENT - RBSToken
Type_ tCOMMENT - RBSToken
Type_ tDQSTRING - RBSToken
Type_ tDQSYMBOL - RBSToken
Type_ tEQIDENT - RBSToken
Type_ tGIDENT - RBSToken
Type_ tINLINECOMMENT - RBSToken
Type_ tINTEGER - RBSToken
Type_ tLIDENT - RBSToken
Type_ tLINECOMMENT - RBSToken
Type_ tOPERATOR - RBSToken
Type_ tQIDENT - RBSToken
Type_ tSQSTRING - RBSToken
Type_ tSQSYMBOL - RBSToken
Type_ tSYMBOL - RBSToken
Type_ tTRIVIA - RBSToken
Type_ tUIDENT - RBSToken
Type_ tULIDENT - RBSToken
Type_ tULLIDENT
Statics§
- rbs_
encodings ⚠ - This is the table of all of the encodings that prism supports.
Functions§
- rbs_
constant_ ⚠pool_ free - Free the memory associated with a constant pool.
- rbs_
constant_ ⚠pool_ id_ to_ constant - Return a pointer to the constant indicated by the given constant id.
- rbs_
constant_ ⚠pool_ init - Initialize a new constant pool with a given capacity.
- rbs_
location_ ⚠range_ list_ append - rbs_
location_ ⚠range_ list_ new - Allocate new rbs_location_range_list_t object through the given allocator.
- rbs_
parse_ ⚠signature - rbs_
parser_ ⚠free - rbs_
parser_ ⚠new - Allocate new rbs_parser_t object.
- rbs_
string_ ⚠new - Returns a new
rbs_string_tstruct
Type Aliases§
- RBSToken
Type - rbs_
allocator_ t - rbs_
ast_ annotation_ t - rbs_
ast_ bool_ t - rbs_
ast_ comment_ t - rbs_
ast_ declarations_ class_ alias_ t - rbs_
ast_ declarations_ class_ super_ t - rbs_
ast_ declarations_ class_ t - rbs_
ast_ declarations_ constant_ t - rbs_
ast_ declarations_ global_ t - rbs_
ast_ declarations_ interface_ t - rbs_
ast_ declarations_ module_ alias_ t - rbs_
ast_ declarations_ module_ self_ t - rbs_
ast_ declarations_ module_ t - rbs_
ast_ declarations_ type_ alias_ t - rbs_
ast_ directives_ use_ single_ clause_ t - rbs_
ast_ directives_ use_ t - rbs_
ast_ directives_ use_ wildcard_ clause_ t - rbs_
ast_ integer_ t - rbs_
ast_ members_ alias_ t - rbs_
ast_ members_ attr_ accessor_ t - rbs_
ast_ members_ attr_ reader_ t - rbs_
ast_ members_ attr_ writer_ t - rbs_
ast_ members_ class_ instance_ variable_ t - rbs_
ast_ members_ class_ variable_ t - rbs_
ast_ members_ extend_ t - rbs_
ast_ members_ include_ t - rbs_
ast_ members_ instance_ variable_ t - rbs_
ast_ members_ method_ definition_ overload_ t - rbs_
ast_ members_ method_ definition_ t - rbs_
ast_ members_ prepend_ t - rbs_
ast_ members_ private_ t - rbs_
ast_ members_ public_ t - rbs_
ast_ ruby_ annotations_ class_ alias_ annotation_ t - rbs_
ast_ ruby_ annotations_ colon_ method_ type_ annotation_ t - rbs_
ast_ ruby_ annotations_ instance_ variable_ annotation_ t - rbs_
ast_ ruby_ annotations_ method_ types_ annotation_ t - rbs_
ast_ ruby_ annotations_ module_ alias_ annotation_ t - rbs_
ast_ ruby_ annotations_ node_ type_ assertion_ t - rbs_
ast_ ruby_ annotations_ return_ type_ annotation_ t - rbs_
ast_ ruby_ annotations_ skip_ annotation_ t - rbs_
ast_ ruby_ annotations_ type_ application_ annotation_ t - rbs_
ast_ string_ t - rbs_
ast_ symbol_ t rbs_ast_symbol_tmodels user-defined identifiers like class names, method names, etc. These get stored in the parser’s own constant pool, and get surfaced to Ruby asSymbols.- rbs_
ast_ type_ param_ t - rbs_
attr_ ivar_ name_ t - rbs_
constant_ id_ t - A constant id is a unique identifier for a constant in the constant pool.
- rbs_
constant_ pool_ bucket_ type_ t - The type of bucket in the constant pool hash map. This determines how the bucket should be freed.
- rbs_
hash_ node_ t - rbs_
location_ range_ list_ node_ t - rbs_
location_ range_ list_ t - rbs_
method_ type_ t - rbs_
namespace_ t - rbs_
node_ list_ node_ t - rbs_
node_ list_ t - rbs_
node_ t - rbs_
signature_ t - rbs_
type_ name_ t - rbs_
types_ alias_ t - rbs_
types_ bases_ any_ t - rbs_
types_ bases_ bool_ t - rbs_
types_ bases_ bottom_ t - rbs_
types_ bases_ class_ t - rbs_
types_ bases_ instance_ t - rbs_
types_ bases_ nil_ t - rbs_
types_ bases_ self_ t - rbs_
types_ bases_ top_ t - rbs_
types_ bases_ void_ t - rbs_
types_ block_ t - rbs_
types_ class_ instance_ t - rbs_
types_ class_ singleton_ t - rbs_
types_ function_ param_ t - rbs_
types_ function_ t - rbs_
types_ interface_ t - rbs_
types_ intersection_ t - rbs_
types_ literal_ t - rbs_
types_ optional_ t - rbs_
types_ proc_ t - rbs_
types_ record_ field_ type_ t - rbs_
types_ record_ t - rbs_
types_ tuple_ t - rbs_
types_ union_ t - rbs_
types_ untyped_ function_ t - rbs_
types_ variable_ t