![]() | LGSPMatcherGenerator Class |
Namespace: de.unika.ipd.grGen.lgsp
public class LGSPMatcherGenerator
The LGSPMatcherGenerator type exposes the following members.
Name | Description | |
---|---|---|
![]() | LGSPMatcherGenerator |
Instantiates a new instance of LGSPMatcherGenerator with the given graph model.
A PatternGraphAnalyzer must run before the matcher generator is used,
so that the analysis data is written the pattern graphs of the matching patterns to generate code for.
|
Name | Description | |
---|---|---|
![]() | FillInStaticSearchPlans |
Do the static search planning again so we can explain the search plan
|
![]() | GenerateAction(LGSPGraph, String, String, LGSPAction) |
Generate a new action for the given action, doing the same work,
but hopefully faster by taking graph analysis information into account
|
![]() | GenerateAction(ScheduledSearchPlan, LGSPAction, String, String, String) |
Generates an LGSPAction object for the given scheduled search plan.
|
![]() | GenerateActionAndMatcher |
Generates the action interface plus action implementation including the matcher source code
for the given rule pattern into the given source builder
|
![]() | GenerateActionAndMatcherOfAlternative |
Generates the action interface plus action implementation including the matcher source code
for the given alternative into the given source builder
|
![]() | GenerateActionAndMatcherOfIterated |
Generates the action interface plus action implementation including the matcher source code
for the given iterated pattern into the given source builder
|
![]() | GenerateActionAndMatcherOfNestedPatterns |
Generates the action interface plus action implementation including the matcher source code
for the alternatives/iterateds nested within the given negative/independent pattern graph into the given source builder
|
![]() | GenerateActions |
Generate new actions for the given actions, doing the same work,
but hopefully faster by taking graph analysis information into account
|
![]() | GenerateFileHeaderForActionsFile |
Generates file header for actions file into given source builer
|
![]() | GenerateMatcherClassHeadAlternative |
Generates matcher class head source code for the given alternative into given source builder
isInitialStatic tells whether the initial static version or a dynamic version after analyze is to be generated.
|
![]() | GenerateMatcherClassHeadIterated |
Generates matcher class head source code for the given iterated pattern into given source builder
isInitialStatic tells whether the initial static version or a dynamic version after analyze is to be generated.
|
![]() | GenerateMatcherClassHeadSubpattern |
Generates matcher class head source code for the subpattern of the rulePattern into given source builder
isInitialStatic tells whether the initial static version or a dynamic version after analyze is to be generated.
|
![]() | GenerateMatcherClassTail |
Generates matcher class tail source code
|
![]() | GenerateScheduledSearchPlans |
Generates scheduled search plans needed for matcher code generation for action compilation
out of graph with analyze information,
The scheduled search plans are added to the main and the nested pattern graphs.
|
![]() | GetDynCompilerSetup |
Setup of compiler parameters for recompilation of actions at runtime taking care of analyze information
|
![]() | GetModel | |
![]() ![]() | SetNeedForProfiling(ExpressionOrYielding) | |
![]() ![]() | SetNeedForProfiling(PatternGraph) |
Name | Description | |
---|---|---|
![]() | CommentSourceCode |
If true, the generated matcher functions are commented to improve understanding the source code.
|
![]() | DumpDynSourceCode |
If true, the source code of dynamically generated matcher functions are dumped to a file in the current directory.
|
![]() | DumpSearchPlan |
If true, generated search plans are dumped in VCG and TXT files in the current directory.
|
![]() | EmitDebugValidityChecks |
If true, validity checks are added at some places, to support debugging/developments.
|
![]() | InlineIndependents |
If true, the independents are to be inlined
|
![]() | LazyNegativeIndependentConditionEvaluation |
If true, the negatives, independents, and evaluations are inserted at the end of the schedule
instead of as early as possible; this is likely less efficient but allows to use checks
which require that they are only called after a structural match was found
|
![]() | Profile |
If true, profiling information is to be collected, i.e. some statistics about search steps executed
|