A base class for representing code patterns.
This class is a base class for all representations of code patterns.
Instances of this class and subclasses have reference object semantics.
virtual void retdec::llvmir2hll::Pattern::print |
( |
llvm::raw_ostream & |
os, |
|
|
const std::string & |
indentation = "" |
|
) |
| const |
|
pure virtual |
Prints the pattern to stream os, each line indented with indentation.
The pattern may span over multiple lines. When the pattern is empty, nothing should be printed. If the pattern is non-empty, the output is ended with a new line.
Implemented in retdec::llvmir2hll::StmtsPattern.