Module: RBS::Inline::AnnotationParser::Tokens
- Included in:
- RBS::Inline::AnnotationParser, Tokenizer
- Defined in:
- lib/rbs/inline/annotation_parser/tokenizer.rb
Constant Summary collapse
- K_RETURN =
:kRETURN
- K_INHERITS =
:kINHERITS
- K_AS =
:kAS
- K_OVERRIDE =
:kOVERRIDE
- K_USE =
:kUSE
- K_MODULE_SELF =
:kMODULESELF
- K_GENERIC =
:kGENERIC
- K_IN =
:kIN
- K_OUT =
:kOUT
- K_UNCHECKED =
:kUNCHECKED
- K_SELF =
:kSELF
- K_SKIP =
:kSKIP
- K_YIELDS =
:kYIELDS
- K_MODULE =
:kMODULE
- K_CLASS =
:kCLASS
- K_COLON2 =
:kCOLON2
- K_COLON =
:kCOLON
- K_LBRACKET =
:kLBRACKET
- K_RBRACKET =
:kRBRACKET
- K_COMMA =
:kCOMMA
- K_STAR2 =
:kSTAR2
- K_STAR =
:kSTAR
- K_MINUS2 =
:kMINUS2
- K_LT =
:kLT
- K_DOT3 =
:kDOT3
- K_DOT =
:kDOT
- K_ARROW =
:kARROW
- K_LBRACE =
:kLBRACE
- K_LPAREN =
:kLPAREN
- K_AMP =
:kAMP
- K_QUESTION =
:kQUESTION
- K_VBAR =
:kVBAR
- K_EOF =
:kEOF
- K_RBSE =
‘@rbs!`
:kRBSE
- K_RBS =
‘@rbs`
:kRBS
- T_UIDENT =
:tUIDENT
- T_IFIDENT =
:tIFIDENT
- T_LVAR =
:tLVAR
- T_COMMENT =
The body of comment string following ‘–`
:tCOMMENT
- T_SOURCE =
Type/method type source
:tSOURCE
- T_BLOCKSTR =
Block type source
:tBLOCKSTR
- T_ELVAR =
‘!` local variable
:tELVAR
- T_ATIDENT =
:tATIDENT
- T_ANNOTATION =
:tANNOTATION
- T_WHITESPACE =
:tWHITESPACE