Child pages
  • Marker
Skip to end of metadata
Go to start of metadata

The marker declares the fictive rule which name can be used for defining additional metadata in the grammar. This metadata can be used by Nitra code generators and subsystems. For example:

Standard markers

The PrettyPrint module markers flag pretty-print-epy to do the following in places where these markers are applied:

  • sm – print whitespace
  • i – increase indent
  • d – decrease indent
  • nl – print end line characters and new line indent
  • int – same as i and nl applied in sequence

The Outline module markers indicate what constructs in the code editor can be outlined and the way it’s done:

  • outline_begin – the beginning of the outlined region. Whitespaces preceding the region are not included
  • outline_end – the end of the outlined region. Whitespaces following the region are not included
  • outline_begin_before -- the beginning of the outlined region. Whitespaces preceding the region are included
  • outline_end_before – the end of the outlined region. Whitespaces following the region are included
  • outline_hiden – the subsequent region should be outlined by default
  • No labels