#include <DotParserDriver.h>
|
yy::parser::symbol_type | yylex (DotParserDriver &d, DOTScannerWrapper &scanner, yy::parser::symbol_type &context) |
|
Definition at line 21 of file DotParserDriver.h.
◆ DotParserDriver()
DotParserDriver::DotParserDriver |
( |
std::istream & |
input, |
|
|
std::string |
file_name_ |
|
) |
| |
◆ addEdge()
Create a node, respecting any default edge and default node attributes
Definition at line 76 of file DotParserDriver.h.
◆ addOrCreateNode()
Create a node, respecting any default node attributes
Definition at line 68 of file DotParserDriver.h.
◆ appendDefaultEdgeAttributes()
void DotParserDriver::appendDefaultEdgeAttributes |
( |
ConfigStore |
new_attrs | ) |
|
|
inline |
◆ appendDefaultNodeAttributes()
void DotParserDriver::appendDefaultNodeAttributes |
( |
ConfigStore |
new_attrs | ) |
|
|
inline |
Update the default attributes. Overwrites any duplicate keys
Definition at line 62 of file DotParserDriver.h.
◆ appendGraphAttributes()
void DotParserDriver::appendGraphAttributes |
( |
ConfigStore |
attrs | ) |
|
|
inline |
◆ getFileName() [1/2]
std::string& DotParserDriver::getFileName |
( |
| ) |
& |
|
inline |
◆ getFileName() [2/2]
const std::string& DotParserDriver::getFileName |
( |
| ) |
const & |
|
inline |
Filename we are parsing. Mutable overloaded needed because bison wants a pointer to mutable string...
Definition at line 45 of file DotParserDriver.h.
◆ getGraph() [1/2]
Access the graph. && overload allows for moving the graph out of a rvalue *this
Definition at line 38 of file DotParserDriver.h.
◆ getGraph() [2/2]
const ConfigGraph& DotParserDriver::getGraph |
( |
| ) |
const & |
|
inline |
◆ makeError()
std::logic_error DotParserDriver::makeError |
( |
const yy::location & |
l, |
|
|
const std::string & |
m |
|
) |
| const |
Make something human readable from the location l
and message m
.
◆ setGraphName()
void DotParserDriver::setGraphName |
( |
std::string |
name | ) |
|
|
inline |
◆ yylex
yy::parser::symbol_type yylex |
( |
DotParserDriver & |
d, |
|
|
DOTScannerWrapper & |
scanner, |
|
|
yy::parser::symbol_type & |
context |
|
) |
| |
|
friend |
◆ default_edge_attributes
ConfigStore DotParserDriver::default_edge_attributes = {} |
|
private |
◆ default_node_attributes
ConfigStore DotParserDriver::default_node_attributes = {} |
|
private |
◆ file_name
std::string DotParserDriver::file_name |
|
private |
◆ graph
The documentation for this class was generated from the following file:
- /media/maple_tb_disk/wicklun2/cgra-me-website/cgra-me/src/dotparser/DotParserDriver.h