class X::Syntax::Variable::Numeric does X::Syntax { }

尝试声明数字符号时抛出语法错误。

例如

my @101;

用以下内容终止

===SORRY!===
Cannot declare a numeric variable

方法§

方法 what§

method what returns Str:D

返回已声明符号类型的文字描述(变量、参数、属性)。

类型图§

X::Syntax::Variable::Numeric 的类型关系
raku-type-graph 中文 Numeric 中文 Numeric Real 中文 Real Real->Numeric 中文 Mu 中文 Mu Any 中文 Any Any->Mu 中文 Cool 中文 Cool Cool->Any 中文 Complex 中文 Complex Complex->Numeric 中文 Complex->Cool 中文 Stringy 中文 Stringy Str 中文 Str Str->Cool 中文 Str->Stringy 中文 Allomorph 中文 Allomorph Allomorph->Str 中文 ComplexStr 中文 ComplexStr ComplexStr->Complex 中文 ComplexStr->Allomorph 中文 Num 中文 Num Num->Real 中文 Num->Cool 中文 Instant 中文 Instant Instant->Real 中文 Instant->Cool 中文 Duration 中文 Duration Duration->Real 中文 Duration->Cool 中文 Rational 中文 Rational Rational->Real 中文 Int 中文 Int Int->Real 中文 Int->Cool 中文 NumStr 中文 NumStr NumStr->Allomorph 中文 NumStr->Num 中文 atomicint 中文 atomicint atomicint->Int 中文 Bool 中文 Bool Bool->Int 中文 IntStr 中文 IntStr IntStr->Allomorph 中文 IntStr->Int 中文 Order 中文 Order Order->Int 中文 Signal 中文 Signal Signal->Int 中文 int 中文 int int->Int 中文 Endian 中文 Endian Endian->Int 中文 PromiseStatus 中文 PromiseStatus PromiseStatus->Int 中文 FatRat 中文 FatRat FatRat->Cool 中文 FatRat->Rational 中文 Rat 中文 Rat Rat->Cool 中文 Rat->Rational 中文

展开上面的图表