private void CompileKeywordArguments()
{
Token token;
this.methodname = string.Empty;
while (true)
{
token = this.NextToken();
if (token == null)
{
return;
}
if (token.Type != TokenType.Name || !token.Value.EndsWith(":"))
{
this.PushToken(token);
return;
}
this.methodname += token.Value;
token = this.NextToken();
if (token == null || token.Type != TokenType.Name)
{
throw new ParserException("Argument expected");
}
this.arguments.Add(token.Value);
}
}