Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
lexy::visualization_options Struct Reference

Options that control visualization. More...

#include <visualize.hpp>

Public Member Functions

constexpr bool is_set (visualization_flags f) const noexcept
 
constexpr visualization_options reset (visualization_flags f) const noexcept
 

Public Attributes

visualization_flags flags = visualize_default
 Boolean flags. More...
 
unsigned char max_lexeme_width = 0
 
unsigned char max_tree_depth = max_tree_depth_limit
 
unsigned char tab_width = 0
 

Static Public Attributes

static constexpr unsigned char max_tree_depth_limit = 32
 

Friends

constexpr friend visualization_options operator| (visualization_options lhs, visualization_flags rhs) noexcept
 

Detailed Description

Options that control visualization.

Definition at line 40 of file visualize.hpp.

Member Function Documentation

◆ is_set()

constexpr bool lexy::visualization_options::is_set ( visualization_flags  f) const
inlineconstexprnoexcept

Definition at line 57 of file visualize.hpp.

◆ reset()

constexpr visualization_options lexy::visualization_options::reset ( visualization_flags  f) const
inlineconstexprnoexcept

Definition at line 62 of file visualize.hpp.

Friends And Related Function Documentation

◆ operator|

constexpr friend visualization_options operator| ( visualization_options  lhs,
visualization_flags  rhs 
)
friend

Definition at line 69 of file visualize.hpp.

Member Data Documentation

◆ flags

visualization_flags lexy::visualization_options::flags = visualize_default

Boolean flags.

Definition at line 45 of file visualize.hpp.

◆ max_lexeme_width

unsigned char lexy::visualization_options::max_lexeme_width = 0

The maximal width when visualizing a lexeme. 0 means unlimited.

Definition at line 52 of file visualize.hpp.

◆ max_tree_depth

unsigned char lexy::visualization_options::max_tree_depth = max_tree_depth_limit

The maximal depth when visualizing a tree. Must be <= max_tree_depth_limit.

Definition at line 49 of file visualize.hpp.

◆ max_tree_depth_limit

constexpr unsigned char lexy::visualization_options::max_tree_depth_limit = 32
staticconstexpr

Definition at line 42 of file visualize.hpp.

◆ tab_width

unsigned char lexy::visualization_options::tab_width = 0

How many spaces are printed for a tab character. 0 means it is printed as escaped control character.

Definition at line 55 of file visualize.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19