txt: ## compunit.md
  class CompUnit
  
  CompUnit
  
  ```raku
  class CompUnit {}
  ```
  
  The `CompUnit` represents the meta-information 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](#class_CompUnit "go to top of document")[§](#Methods "direct link")
  
  ## [method auth](#class_CompUnit "go to top of document")[§](#method_auth "direct link")
  
  ```raku
  method auth(--> Str:D)
  ```
  
  Returns the authority information with which the `CompUnit` object was created (if any).
  
  ## [method distribution](#class_CompUnit "go to top of document")[§](#method_distribution "direct link")
  
  ```raku
  method distribution(--> Distribution:D)
  ```
  
  Returns the [`Distribution`](/type/Distribution) object with which the `CompUnit` object was created (if any).
  
  ## [method from](#class_CompUnit "go to top of document")[§](#method_from "direct link")
  
  ```raku
  method from(--> Str:D)
  ```
  
  Returns the name of the language with which the `CompUnit` object was created (if any). It will be `Raku` by default.
  
  ## [method precompiled](#class_CompUnit "go to top of document")[§](#method_precompiled "direct link")
  
  ```raku
  method precompiled(--> Bool:D)
  ```
  
  Returns whether the `CompUnit` object originated from a precompiled source.
  
  ## [method repo](#class_CompUnit "go to top of document")[§](#method_repo "direct link")
  
  ```raku
  method repo(--> CompUnit::Repository:D)
  ```
  
  Returns the [`CompUnit::Repository`](/type/CompUnit/Repository) object with which the `CompUnit` object was created.
  
  ## [method repo-id](#class_CompUnit "go to top of document")[§](#method_repo-id "direct link")
  
  ```raku
  method repo-id(--> Str:D)
  ```
  
  Returns the identification string with which the `CompUnit` object can be identified in the associated [repo](#method_repo).
  
  ## [method short-name](#class_CompUnit "go to top of document")[§](#method_short-name "direct link")
  
  ```raku
  method short-name(--> Str:D)
  ```
  
  Returns The short name with which the `CompUnit` object was created (if any).
  
  ## [method version](#class_CompUnit "go to top of document")[§](#method_version "direct link")
  
  ```raku
  method version(--> Version:D)
  ```
  
  Returns the version information with which the `CompUnit` object was created (if any).
  
  # [Typegraph](# "go to top of document")[§](#typegraphrelations "direct link")
  
  Type relations for `CompUnit`
  
  
  
  raku-type-graph
  
  
  
  CompUnit
  CompUnit
  
  
  Any
  Any
  
  
  CompUnit->Any
  
  
  
  Mu
  Mu
  
  
  Any->Mu
  
  [Expand chart above](/assets/typegraphs/CompUnit.svg)
  