Package | Description |
---|---|
org.jamplate.impl |
Jamplate specific implementations.
|
org.jamplate.impl.analyzer |
A package containing implementations of the interface
Analyzer . |
org.jamplate.impl.compiler |
A package containing implementations of the interface
Compiler . |
org.jamplate.impl.model |
A package containing implementations of the package
org.jamplate.model . |
org.jamplate.impl.parser |
A package containing implementations of the interface
Parser . |
org.jamplate.impl.processor |
A package containing implementations of the interface
Processor . |
org.jamplate.model |
A package that specifies that primary components of a processor that uses the
jamplate-style processing.
|
org.jamplate.model.function |
All about processors.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Jamplate.execute(@NotNull Environment environment,
Compilation... compilations)
Execute the given
compilations in order with respect to the given environment . |
static boolean |
Jamplate.execute(@NotNull Environment environment,
@NotNull java.util.function.Function<Compilation,Memory> memorySupplier,
Compilation... compilations)
Execute the given
compilations in order with respect to the given environment . |
Modifier and Type | Method and Description |
---|---|
boolean |
SequentialAnalyzer.analyze(@NotNull Compilation compilation,
@NotNull Tree tree) |
boolean |
ConditionTransformAnalyzer.analyze(@NotNull Compilation compilation,
@NotNull Tree tree) |
boolean |
RecursiveAnalyzer.analyze(@NotNull Compilation compilation,
@NotNull Tree tree) |
Modifier and Type | Method and Description |
---|---|
@Nullable Instruction |
FilterByKindCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToIdleWhitespaceCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToReprntConstCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToPushConstUnescapeCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
FallbackCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
MandatoryCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
CombineCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
FirstCompileCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToPushConstCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
FlattenCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ExclusiveCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToIdleCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToPushEvalAddrCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
Modifier and Type | Class and Description |
---|---|
class |
CompilationImpl
A basic compilation implementation with no special features.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Compilation |
EnvironmentImpl.getCompilation(@NotNull Document document) |
@Nullable Compilation |
EnvironmentImpl.getCompilation(@NotNull java.lang.String name) |
@NotNull Compilation |
EnvironmentImpl.optCompilation(@NotNull Document document) |
Modifier and Type | Method and Description |
---|---|
void |
EnvironmentImpl.setCompilation(@NotNull Document document,
@NotNull Compilation compilation) |
Modifier and Type | Method and Description |
---|---|
@NotNull java.util.Set<Tree> |
HierarchyParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
RecursiveParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
FilterByKindParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
MergeByWeightParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
ThenAddParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
FilterHierarchyByKindParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
MergeByOrderParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
PatternParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
CollectParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
PatternRangeParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
ThenOfferParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
PatternGroupParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
CombineParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
@NotNull java.util.Set<Tree> |
OfferParser.parse(@NotNull Compilation compilation,
@NotNull Tree tree) |
Modifier and Type | Method and Description |
---|---|
boolean |
CompilerProcessor.process(@NotNull Compilation compilation) |
boolean |
AnalyzerProcessor.process(@NotNull Compilation compilation) |
boolean |
ParserProcessor.process(@NotNull Compilation compilation) |
boolean |
SequentialProcessor.process(@NotNull Compilation compilation) |
Modifier and Type | Method and Description |
---|---|
@Nullable Compilation |
Environment.getCompilation(@NotNull Document document)
Get the compilation set to this environment with the given
document or
return null if no such compilation exist in this environment. |
@Nullable Compilation |
Environment.getCompilation(@NotNull java.lang.String name)
Get the compilation registered in this environment with the document qualified with
the given
name or return null if no such compilation has been set
in this environment. |
@NotNull Compilation |
Environment.optCompilation(@NotNull Document document)
Return the compilation set to this environment with the given
document or
create a new compilation for the given document , add it to this environment
and return it. |
Modifier and Type | Method and Description |
---|---|
void |
Environment.setCompilation(@NotNull Document document,
@NotNull Compilation compilation)
Associate the given
compilation to the given document in this
environment. |
Modifier and Type | Method and Description |
---|---|
boolean |
Analyzer.analyze(@NotNull Compilation compilation,
@NotNull Tree tree)
Analyze the given
tree and its relative trees. |
@Nullable Instruction |
Compiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree)
Compile the given
tree and the trees in it. |
@NotNull java.util.Set<Tree> |
Parser.parse(@NotNull Compilation compilation,
@NotNull Tree tree)
Parse the given
sketch with respect to the given compilation . |
boolean |
Processor.process(@NotNull Compilation compilation)
Process the given
compilation . |