Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3999283
abstractpass.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 9, 1:53 AM
Size
831 B
Mime Type
text/x-c++
Expires
Sat, Jul 11, 1:53 AM (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
273071
Attached To
rXR Xreate
abstractpass.cpp
View Options
#include "abstractpass.h"
#include "attachments.h"
#include "passmanager.h"
using namespace std;
namespace xreate {
template<>
void defaultValue(){};
void AbstractPassBase::finish()
{}
AbstractPassBase::AbstractPassBase(PassManager *manager)
: man(manager) {
}
template<>
void
AbstractPass<void>::processSymbol(const std::string& ident, PassContext context)
{
const Symbol& symbol = context.scope->findSymbol(ident);
if (__visitedSymbols.isCached(symbol))
return;
if (CodeScope::hasDeclaration(symbol)) {
__visitedSymbols.setCachedValue(symbol);
PassContext context2 = context;
context2.scope = symbol.scope;
process(CodeScope::findDeclaration(symbol), context2, ident);
}
}
}
Event Timeline
Log In to Comment