public class CypherGeneratorFactory extends GeneratorFactory<org.opencypher.tools.grammar.CypherGeneratorFactory.State> implements Supplier<Generator>
GeneratorFactory.Replacement| Constructor and Description |
|---|
CypherGeneratorFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
FunctionName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context) |
Generator |
get() |
void |
IdentifierPart(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context) |
void |
IdentifierStart(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context) |
void |
LabelName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context) |
static void |
main(String... args) |
protected org.opencypher.tools.grammar.CypherGeneratorFactory.State |
newContext()
Creates a new context object for use by the generator.
|
void |
PropertyKeyName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context) |
void |
RelTypeName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context) |
void |
Variable(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context) |
choices, generator, generator, generatorResource, replacementprotected org.opencypher.tools.grammar.CypherGeneratorFactory.State newContext()
GeneratorFactoryScopeListener - TODO: is this a good design?
TODO: should scope notification be part of tree building or string generation?
-- An idea: we could make the Scope notion create a nested context object, so new context for new scope...newContext in class GeneratorFactory<org.opencypher.tools.grammar.CypherGeneratorFactory.State>public void Variable(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
public void LabelName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
public void RelTypeName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
public void FunctionName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
public void PropertyKeyName(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
public void IdentifierStart(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
public void IdentifierPart(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
Copyright © 2019. All rights reserved.