![]() |
Vcsn
2.3a
Be Rational
|
An expression that "remembers" whether it was in parentheses. More...
#include <parse.hh>
Public Member Functions | |
braced_expression & | operator= (dyn::expression e) |
Public Attributes | |
dyn::expression | exp |
The expression parsed so far. More... | |
bool | lparen = false |
Whether there was a left-paren. More... | |
bool | rparen = false |
Whether there was a right-paren. More... | |
An expression that "remembers" whether it was in parentheses.
Used in LAW to distinguish "(a)(b)", "(a)b", "a(b)" from "ab": only in the last case the letters must be concatenated into a word.
|
inline |
dyn::expression vcsn::rat::braced_expression::exp |
The expression parsed so far.
Definition at line 65 of file parse.hh.
Referenced by vcsn::rat::parser::parse().
bool vcsn::rat::braced_expression::lparen = false |
Whether there was a left-paren.
Definition at line 67 of file parse.hh.
Referenced by vcsn::rat::parser::parse().
bool vcsn::rat::braced_expression::rparen = false |
Whether there was a right-paren.
Definition at line 69 of file parse.hh.
Referenced by vcsn::rat::parser::parse().