Go to the source code of this file.
◆ MAKE_ACCEPT
#define MAKE_ACCEPT |
( |
|
Name | ) |
|
Value: void* RegExp##Name::Accept(RegExpVisitor* visitor,
void*
data) { \
return visitor->Visit##
Name(
this,
data); \
}
std::shared_ptr< const fml::Mapping > data
Definition at line 12 of file regexp_ast.cc.
◆ MAKE_CASE
#define MAKE_CASE |
( |
|
Name | ) |
virtual void* Visit##Name(RegExp##Name*, void* data); |
◆ MAKE_TYPE_CASE [1/2]
#define MAKE_TYPE_CASE |
( |
|
Name | ) |
|
Value: RegExp##
Name* RegExpTree::As##
Name() { \
return nullptr; \
} \
bool RegExpTree::Is##
Name()
const { \
return false; \
}
Definition at line 29 of file regexp_ast.cc.
◆ MAKE_TYPE_CASE [2/2]
#define MAKE_TYPE_CASE |
( |
|
Name | ) |
|
Value: RegExp##
Name* RegExp##Name::As##
Name() { \
return this; \
} \
bool RegExp##Name::Is##
Name()
const { \
return true; \
}
Definition at line 29 of file regexp_ast.cc.