Xreate
The Xreate programming language
Protected Member Functions | List of all members
LateReasoningDFAPassDecorator< Parent > Class Template Reference

Decorates dfa::DFAPass to recognize and extract late annotations. More...

#include <latereasoningpass.h>

Detailed Description

template<class Parent>
class xreate::latereasoning::LateReasoningDFAPassDecorator< Parent >

Decorates dfa::DFAPass to recognize and extract late annotations.

Note
Limitation: Produces late annotation with the symbol the annotation is attached to being a target
Inheritance diagram for LateReasoningDFAPassDecorator< Parent >:
DFAPass AbstractPass< SymbolNode > IPass

Protected Member Functions

virtual SymbolNode process (const Expression &expression, PassContext context, const std::string &varDecl="") override
 Processes single Expression.
 
- Protected Member Functions inherited from DFAPass
virtual SymbolNode process (CodeScope *scope, PassContext context, const std::string &hintBlockDecl="") override
 Processes single CodeScope.
 
virtual SymbolNode process (ManagedFnPtr function) override
 Processes Function.
 
void finish () override
 Finalizes pass. Empty by default.
 

Additional Inherited Members

- Public Member Functions inherited from AbstractPass< SymbolNode >
virtual SymbolNode processFnCall (ManagedFnPtr functionCallee, PassContext context)
 Processes function invocation instruction.
 
virtual SymbolNode processFnCallUncertain (const std::string &calleeName, const std::list< ManagedFnPtr > &candidates, PassContext context)
 Processes function invocation instruction in uncertain cases. More...
 
virtual void process (ManagedRulePtr rule)
 Processes Logic Rule.
 
void run ()
 Executes AST traverse.
 

The documentation for this class was generated from the following file: