| Package | Description |
|---|---|
| org.opencypher.generator | |
| org.opencypher.railroad | |
| org.opencypher.tools.grammar |
This is the entry-point package for the tools in this library.
|
| org.opencypher.tools.io |
This package contains utilities for dealing with text output.
|
| Modifier and Type | Method and Description |
|---|---|
Output |
ProductionReplacement.Context.output() |
| Modifier and Type | Method and Description |
|---|---|
void |
Generator.generate(Output output) |
void |
Generator.generate(String start,
Output output) |
void |
Node.sExpression(Output output) |
void |
Node.write(Output output) |
| Constructor and Description |
|---|
InteractiveChoices(LineInput input,
Output output,
Choices defaultChoices) |
TracingChoices(Output output,
Choices choices) |
| Modifier and Type | Method and Description |
|---|---|
static Diagram.CanvasProvider<SVGShapes,XMLStreamException> |
SVGShapes.svgFile(Function<String,Output> output) |
| Modifier and Type | Method and Description |
|---|---|
static Output |
SQLBNF.string(Output str,
Production production) |
static Output |
ISO14977.string(Output str,
Production production) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SQLBNF.append(Grammar.Term term,
Output output) |
static void |
ISO14977.append(Grammar.Term term,
Output output) |
static Output |
SQLBNF.string(Output str,
Production production) |
static Output |
ISO14977.string(Output str,
Production production) |
static void |
SQLBNF.write(Grammar grammar,
Output output) |
static void |
ISO14977.write(Grammar grammar,
Output output) |
static void |
Antlr4.write(Grammar grammar,
Output output) |
static void |
Xml.write(Grammar grammar,
Output output) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Output.Readable
An extension of
Output that signals that what was written can be read back. |
| Modifier and Type | Method and Description |
|---|---|
default Output |
Output.and(Output output)
Fluent API for multiplexing multiple
Output instances. |
default Output |
Output.append(boolean x)
Append a boolean value.
|
Output |
Output.append(char x) |
default Output |
Output.append(char[] str)
Append an array of characters.
|
default Output |
Output.append(char[] str,
int offset,
int len)
Append a range from an array of characters.
|
default Output |
Output.append(CharSequence str) |
default Output |
Output.append(CharSequence str,
int start,
int end) |
default Output |
Output.append(double x)
Append a double-precision floating-point number.
|
default Output |
Output.append(float x)
Append a floating-point number.
|
default Output |
Output.append(int x)
Append an integer.
|
default Output |
Output.append(long x)
Append a long integer.
|
default Output |
Output.append(String str)
Append a string.
|
default <T> Output |
Output.append(T value,
BiConsumer<T,Output> writer)
Append an arbitrary object, formatted by a supplied method for writing the object.
|
default Output |
Output.appendCodePoint(int codePoint)
Appends the string representation of the
codePoint argument to this sequence. |
default Output |
Output.escape(CharSequence str,
IntFunction<String> replacement)
Escape the code points of the given character sequence according to the given replacement function.
|
default Output |
Output.escape(CharSequence str,
int start,
int end,
IntFunction<String> replacement)
Escape the code points of the given character sequence according to the given replacement function.
|
default Output |
Output.format(Locale l,
String format,
Object... args)
Appends a formatted string to this output stream using the specified format string and arguments.
|
default Output |
Output.format(String format,
Object... args)
Appends a formatted string to this output stream using the specified format string and arguments.
|
static Output |
Output.lineNumbers(Output output)
Wrap an
Output in another instance that prepends a line number to every line written. |
static Output |
Output.multiplex(Output... output)
Combine multiple
Output instances to one instance that writes to all combined instances. |
Output |
HtmlTag.output()
Unsafe access to the underlying
Output. |
static Output |
Output.output(CharBuffer buffer)
Adapt a
CharBuffer to the Output interface. |
static Output |
Output.output(OutputStream stream)
Adapt an
OutputStream to the Output interface. |
static Output |
Output.output(Path path)
Create an
Output that writes to the specified file. |
static Output |
Output.output(Writer writer)
Adapt a
Writer to the Output interface. |
default Output |
Output.printLines(String text,
String separator)
Append a specified string, with a given separator inserted between each line in the string.
|
default Output |
Output.println()
Append a line separator.
|
default Output |
Output.println(boolean x)
Append a boolean value and a line separator.
|
default Output |
Output.println(char x)
Append the specified character and a line separator.
|
default Output |
Output.println(char[] str)
Append an array of characters and a line separator.
|
default Output |
Output.println(double x)
Append a double-precision floating-point number and a line separator.
|
default Output |
Output.println(float x)
Append a floating-point number and a line separator.
|
default Output |
Output.println(int x)
Append an integer and a line separator.
|
default Output |
Output.println(long x)
Append a long integer and a line separator.
|
default Output |
Output.println(String str)
Append a string and a line separator.
|
static Output |
Output.stdErr()
Get an
Output instance that writes to the standard error output stream. |
static Output |
Output.stdOut()
Get an
Output instance that writes to the standard output stream. |
static Output |
Output.stringBuilder(int size)
Create a new
Output that writes to a new string builder of given capacity. |
| Modifier and Type | Method and Description |
|---|---|
default Output |
Output.and(Output output)
Fluent API for multiplexing multiple
Output instances. |
static HtmlTag.Html |
HtmlTag.html(Output output) |
static Output |
Output.lineNumbers(Output output)
Wrap an
Output in another instance that prepends a line number to every line written. |
static Output |
Output.multiplex(Output... output)
Combine multiple
Output instances to one instance that writes to all combined instances. |
| Modifier and Type | Method and Description |
|---|---|
default <T> Output |
Output.append(T value,
BiConsumer<T,Output> writer)
Append an arbitrary object, formatted by a supplied method for writing the object.
|
static <T> String |
Output.string(T value,
BiConsumer<T,Output> writer)
|
Copyright © 2019. All rights reserved.