Class CypherGeneratorFactory

    • Constructor Detail

      • CypherGeneratorFactory

        public CypherGeneratorFactory()
    • Method Detail

      • newContext

        protected org.opencypher.tools.grammar.CypherGeneratorFactory.State newContext()
        Description copied from class: GeneratorFactory
        Creates a new context object for use by the generator. The context object may implement ScopeListener - 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...
        Specified by:
        newContext in class GeneratorFactory<org.opencypher.tools.grammar.CypherGeneratorFactory.State>
        Returns:
        a new context object for a generator session.
      • PropertyKeyName

        public void PropertyKeyName​(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
      • IdentifierStart

        public void IdentifierStart​(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)
      • IdentifierPart

        public void IdentifierPart​(ProductionReplacement.Context<org.opencypher.tools.grammar.CypherGeneratorFactory.State> context)