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

An after= or not_after= option, its names resolved once every rule is read. More...

#include <grammar.hpp>

Public Attributes

std::size_t rule
 The rule's index.
 
bool after
 after= (else not_after=).
 
std::vector< std::string_view > names
 The names it lists (views into the grammar text).
 
std::size_t line
 Its 1-based line.
 
std::size_t column
 The 1-based column of the option.
 

Detailed Description

An after= or not_after= option, its names resolved once every rule is read.

Member Data Documentation

◆ after

bool scilex::detail::predicate_site::after

after= (else not_after=).

◆ column

std::size_t scilex::detail::predicate_site::column

The 1-based column of the option.

◆ line

std::size_t scilex::detail::predicate_site::line

Its 1-based line.

◆ names

std::vector<std::string_view> scilex::detail::predicate_site::names

The names it lists (views into the grammar text).

◆ rule

std::size_t scilex::detail::predicate_site::rule

The rule's index.


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