SciLex
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Attributes | List of all members
scilex::layout_roles Struct Reference

The token kinds whose rules take part in the indentation (Layout Awareness Level B), as a lexer's lexer::layout_roles gives them, for layout. More...

#include <token.hpp>

Public Attributes

std::vector< int > entries
 The kinds of indent=entry rules (YAML's -).
 
std::vector< int > values
 The kinds of indent=value rules (YAML's :).
 

Detailed Description

The token kinds whose rules take part in the indentation (Layout Awareness Level B), as a lexer's lexer::layout_roles gives them, for layout.

Member Data Documentation

◆ entries

std::vector<int> scilex::layout_roles::entries

The kinds of indent=entry rules (YAML's -).

◆ values

std::vector<int> scilex::layout_roles::values

The kinds of indent=value rules (YAML's :).


The documentation for this struct was generated from the following file: