txt: ## frame.md
  class Backtrace::Frame
  
  Single frame of a Backtrace
  
  ```raku
  class Backtrace::Frame { }
  ```
  
  A single backtrace frame. It identifies a location in the source code.
  
  # [Methods](#class_Backtrace::Frame "go to top of document")[§](#Methods "direct link")
  
  ## [method file](#class_Backtrace::Frame "go to top of document")[§](#method_file "direct link")
  
  ```raku
  method file(Backtrace::Frame:D --> Str)
  ```
  
  Returns the file name.
  
  ```raku
  my $bt = Backtrace.new;
  my $btf = $bt[0];
  say $btf.file;
  ```
  
  ## [method line](#class_Backtrace::Frame "go to top of document")[§](#method_line "direct link")
  
  ```raku
  method line(Backtrace::Frame:D --> Int)
  ```
  
  Returns the line number (line numbers start counting from 1).
  
  ```raku
  my $bt = Backtrace.new;
  my $btf = $bt[0];
  say $btf.line;
  ```
  
  ## [method code](#class_Backtrace::Frame "go to top of document")[§](#method_code "direct link")
  
  ```raku
  method code(Backtrace::Frame:D)
  ```
  
  Returns the code object into which `.file` and `.line` point, if available.
  
  ```raku
  my $bt = Backtrace.new;
  my $btf = $bt[0];
  say $btf.code;
  ```
  
  ## [method subname](#class_Backtrace::Frame "go to top of document")[§](#method_subname "direct link")
  
  ```raku
  method subname(Backtrace::Frame:D --> Str)
  ```
  
  Returns the name of the enclosing subroutine.
  
  ```raku
  my $bt = Backtrace.new;
  my $btf = $bt[0];
  say $btf.subname;
  ```
  
  ## [method is-hidden](#class_Backtrace::Frame "go to top of document")[§](#method_is-hidden "direct link")
  
  ```raku
  method is-hidden(Backtrace::Frame:D: --> Bool:D)
  ```
  
  Returns `True` if the frame is marked as hidden with the `is hidden-from-backtrace` trait.
  
  ```raku
  my $bt = Backtrace.new;
  my $btf = $bt[0];
  say $btf.is-hidden;
  ```
  
  ## [method is-routine](#class_Backtrace::Frame "go to top of document")[§](#method_is-routine "direct link")
  
  ```raku
  method is-routine(Backtrace::Frame:D: --> Bool:D)
  ```
  
  Return `True` if the frame points into a routine (and not into a mere [`Block`](/type/Block)).
  
  ```raku
  my $bt = Backtrace.new;
  my $btf = $bt[0];
  say $btf.is-routine;
  ```
  
  ## [method is-setting](#class_Backtrace::Frame "go to top of document")[§](#method_is-setting "direct link")
  
  ```raku
  method is-setting(Backtrace::Frame:D: --> Bool:D)
  ```
  
  Returns `True` if the frame is part of a setting.
  
  ```raku
  my $bt = Backtrace.new;
  my $btf = $bt[0];
  say $btf.is-setting; # OUTPUT: «True␤»
  ```
  