In X::Syntax::Variable::Twigil§

See primary documentation in context for method twigil

method twigil(--> Str:D)

Returns the twigil that was illegally used

In X::Parameter::Twigil§

See primary documentation in context for method twigil

The illegally used twigil.

In Parameter§

See primary documentation in context for method twigil

method twigil(Parameter:D: --> Str:D)

Returns a string containing the twigil part of the parameter's name.