public void interface_member(TypeDefinition parent)
{
IToken getter = null;
IToken setter = null;
try
{
Method method;
this.match(0x13);
switch (this.LA(1))
{
case 20:
getter = this.LT(1);
this.match(20);
break;
case 0x25:
setter = this.LT(1);
this.match(0x25);
break;
case 12:
case 0x10:
case 0x21:
case 0x3b:
break;
default:
throw new NoViableAltException(this.LT(1), this.getFilename());
}
IToken nameToken = this.identifier();
if (base.inputState.guessing == 0)
{
method = this.AddFunctionTo(parent, nameToken, getter, setter);
}
this.match(0x3f);
switch (this.LA(1))
{
case 12:
case 0x10:
case 0x21:
case 0x3b:
case 0x63:
this.parameter_declaration_list(method);
break;
case 0x40:
break;
default:
throw new NoViableAltException(this.LT(1), this.getFilename());
}
this.match(0x40);
switch (this.LA(1))
{
case 0x42:
{
this.match(0x42);
TypeReference reference = this.type_reference();
if (base.inputState.guessing == 0)
{
method.set_ReturnType(reference);
}
break;
}
case 0x13:
case 0x3e:
case 0x4d:
case 0x63:
break;
default:
throw new NoViableAltException(this.LT(1), this.getFilename());
}
while (this.LA(1) == 0x4d)
{
this.match(0x4d);
}
}
catch (RecognitionException exception)
{
if (base.inputState.guessing != 0)
{
throw;
}
this.reportError(exception);
this.recover(exception, tokenSet_37_);
}
}