public class ArgumentDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ArgumentDescriptor[] |
ANON_REST |
static ArgumentDescriptor[] |
EMPTY_ARRAY |
RubySymbol |
name
The name of the argument
|
ArgumentType |
type
The type of the argument
|
Constructor and Description |
---|
ArgumentDescriptor(ArgumentType type) |
ArgumentDescriptor(ArgumentType type,
RubySymbol name) |
Modifier and Type | Method and Description |
---|---|
RubyArray |
toArrayForm(Ruby runtime,
boolean isLambda) |
public final ArgumentType type
public final RubySymbol name
public static final ArgumentDescriptor[] EMPTY_ARRAY
public static final ArgumentDescriptor[] ANON_REST
public ArgumentDescriptor(ArgumentType type, RubySymbol name)
public ArgumentDescriptor(ArgumentType type)
Copyright © 2001-2018 JRuby. All Rights Reserved.