LLDB mainline
|
A template class implementing a visitor pattern, but with a couple of twists: More...
#include <PostfixExpression.h>
Protected Member Functions | |
virtual | ~Visitor ()=default |
virtual ResultT | Visit (BinaryOpNode &binary, Node *&ref)=0 |
virtual ResultT | Visit (InitialValueNode &val, Node *&ref)=0 |
virtual ResultT | Visit (IntegerNode &integer, Node *&)=0 |
virtual ResultT | Visit (RegisterNode ®, Node *&)=0 |
virtual ResultT | Visit (SymbolNode &symbol, Node *&ref)=0 |
virtual ResultT | Visit (UnaryOpNode &unary, Node *&ref)=0 |
ResultT | Dispatch (Node *&node) |
Invoke the correct Visit function based on the dynamic type of the given node. | |
A template class implementing a visitor pattern, but with a couple of twists:
Definition at line 163 of file PostfixExpression.h.
|
protectedvirtualdefault |
|
inlineprotected |
Invoke the correct Visit function based on the dynamic type of the given node.
Definition at line 176 of file PostfixExpression.h.
References lldb_private::postfix::Node::BinaryOp, lldb_private::postfix::Node::GetKind(), lldb_private::postfix::Node::InitialValue, lldb_private::postfix::Node::Integer, lldb_private::postfix::Node::Register, lldb_private::postfix::Node::Symbol, lldb_private::postfix::Node::UnaryOp, and lldb_private::postfix::Visitor< ResultT >::Visit().
|
protectedpure virtual |
Referenced by lldb_private::postfix::Visitor< ResultT >::Dispatch().
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |