lib/rbs/parser.y in rbs-0.3.1 vs lib/rbs/parser.y in rbs-0.4.0
- old
+ new
@@ -498,16 +498,16 @@
}
| tQUOTEDMETHOD
| tQUOTEDIDENT
| tWRITE_ATTR
- method_name0: tUIDENT | tLIDENT | identifier_keywords
+ method_name0: tUIDENT | tLIDENT | tINTERFACEIDENT | identifier_keywords
identifier_keywords:
kCLASS | kVOID | kNIL | kTRUE | kFALSE | kANY | kUNTYPED | kTOP | kBOT | kINSTANCE | kBOOL | kSINGLETON
| kTYPE | kMODULE | kPRIVATE | kPUBLIC | kEND | kINCLUDE | kEXTEND | kPREPEND
| kATTRREADER | kATTRACCESSOR | kATTRWRITER | kDEF | kEXTENSION | kSELF | kINCOMPATIBLE
- | kUNCHECKED
+ | kUNCHECKED | kINTERFACE | kSUPER | kALIAS | kOUT | kIN
module_type_params:
{ result = nil }
| kLBRACKET module_type_params0 kRBRACKET {
val[1].each {|p| insert_bound_variable(p.name) }