class CompUnit
CompUnit
1 | Methods |
1.1 | method auth |
1.2 | method distribution |
1.3 | method from |
1.4 | method precompiled |
1.5 | method repo |
1.6 | method repo-id |
1.7 | method short-name |
1.8 | method version |
2 | Type Graph |
The CompUnit
represents the metainformation about a compilation unit. This usually relates to source code that resides in a file on a filesystem, rather than code that is executed using an EVAL
statement.
Methods
method auth
method auth(--> Str)
Returns the authority information with which the CompUnit
object was created (if any).
method distribution
method distribution(--> Distribution)
Returns the Distribution object with which the CompUnit
object was created (if any).
method from
method from(--> Str)
Returns the name of the language with which the CompUnit
object was created (if any). It will be Perl6
by default.
method precompiled
method precompiled(--> Bool)
Returns whether the CompUnit
object originated from a precompiled source.
method repo
method repo(--> CompUnit::Repository)
Returns the CompUnit::Repository object with which the CompUnit
object was created.
method repo-id
method repo-id(--> Str)
Returns the identification string with which the CompUnit
object can be identified in the associated repo.
method short-name
method short-name(--> Str)
Returns The short name with which the CompUnit
object was created (if any).
method version
method version(--> Version)
Returns the version information with which the CompUnit
object was created (if any).