C# 클래스 Rakudo.Runtime.Parameter

Represents a parameter in a signature.
파일 보기 프로젝트 열기: jnthn/6model 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultValue Rakudo.Metamodel.RakudoObject
Definedness DefinednessConstraint
Flags int
Name string
Type Rakudo.Metamodel.RakudoObject
VariableLexpadPosition int
VariableName string

공개 메소드들

메소드 설명
IsOptional ( ) : bool

Tests whether the flag is optional.

Parameter ( RakudoObject Type, string VariableName, int VariableLexpadPosition, string Name, int Flags, DefinednessConstraint Definedness, RakudoObject DefaultValue ) : System

Creates a new parameter object instance.

메소드 상세

IsOptional() 공개 메소드

Tests whether the flag is optional.
public IsOptional ( ) : bool
리턴 bool

Parameter() 공개 메소드

Creates a new parameter object instance.
public Parameter ( RakudoObject Type, string VariableName, int VariableLexpadPosition, string Name, int Flags, DefinednessConstraint Definedness, RakudoObject DefaultValue ) : System
Type Rakudo.Metamodel.RakudoObject
VariableName string
VariableLexpadPosition int
Name string
Flags int
Definedness DefinednessConstraint
DefaultValue Rakudo.Metamodel.RakudoObject
리턴 System

프로퍼티 상세

DefaultValue 공개적으로 프로퍼티

Default RakudoObject for optional parameters.
public RakudoObject,Rakudo.Metamodel DefaultValue
리턴 Rakudo.Metamodel.RakudoObject

Definedness 공개적으로 프로퍼티

Whether a defined or undefined value is required.
public DefinednessConstraint Definedness
리턴 DefinednessConstraint

Flags 공개적으로 프로퍼티

Parameter flags.
public int Flags
리턴 int

Name 공개적으로 프로퍼티

Name, for named parameters.
public string Name
리턴 string

Type 공개적으로 프로퍼티

The type of the parameter.
public RakudoObject,Rakudo.Metamodel Type
리턴 Rakudo.Metamodel.RakudoObject

VariableLexpadPosition 공개적으로 프로퍼티

The position in the lexpad where the variable will be stored.
public int VariableLexpadPosition
리턴 int

VariableName 공개적으로 프로퍼티

The name of the lexical to bind the parameter to.
public string VariableName
리턴 string