txt: ## make.md
  make
  
  Combined from primary sources listed below.
  
  # [In Match](#___top "go to top of document")[§](#(Match)_routine_make "direct link")
  
  See primary documentation
  [in context](/type/Match#routine_make)
  for **routine make**.
  
  ```raku
  method make(Match:D: Mu $payload)
  sub make(Mu $payload)
  ```
  
  Sets the `.ast` attribute, which will be retrieved using `.made`.
  
  ```raku
  $/.make("your payload here");
  ```
  
  That is, it stores an arbitrary payload into the `Match` object that can later be retrieved via [`.made`](/routine/made) method. Since the sub form operates, by default, on `$/`, that example is equivalent to:
  
  ```raku
  make("your payload here");
  ```
  
  This is typically used in a [grammar](/language/grammars)'s actions class methods, where a piece of data is stored by one method and then later retrieved by another. It's up to you what data you store. It could be a tree node, [result of a calculation](/language/grammars#Proto_regexes), a type object, or a list of values.
  
  The sub form operates on the current Match `$/`, which can be a convenient shortcut:
  
  ```raku
  method my-action ($/) {
      make "foo: $/";
  }
  ```
  