| Modifier and Type | Class and Description |
|---|---|
| protected static enum |
| Modifier and Type | Field and Description |
|---|---|
| protected StringBuilder | |
| protected StringBuilder | |
| protected int | |
| protected final boolean | |
| protected int | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| protected int | |
| protected final List | |
| protected StringBuilder | |
| protected final @NotNull InputStream | |
| protected int | |
| protected int | |
| public static final String | |
| public static final Pattern | |
| public static final String | |
| protected String | |
| protected final @NotNull ResourceLocation | |
| protected String | |
| public static final String | |
| protected static final Pattern | |
| public static final String | |
| protected final String[] | |
| protected StringBuilder | |
| protected SpecReader. |
| Access | Constructor and Description |
|---|---|
| public | SpecReader(@NotNull InputStream stream, @NotNull ResourceLocation location, boolean compoundSections)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public static @NotNull SpecReader | |
| public static <S extends SpecReader> S | |
| public static @NotNull SpecReader | |
| public static <S extends SpecReader> S | createAndReadExamples(@NotNull ResourceLocation location, @NotNull SpecReaderFactory<S> readerFactory)
|
| public @NotNull List | |
| public @NotNull List | |
| public @NotNull String | |
| public @NotNull ResourceLocation | |
| protected void | |
| public void | |
| protected void |
| ast | back to summary |
|---|---|
| protected StringBuilder ast | |
| comment | back to summary |
|---|---|
| protected StringBuilder comment | |
| commentLineNumber | back to summary |
|---|---|
| protected int commentLineNumber | |
| compoundSections | back to summary |
|---|---|
| protected final boolean compoundSections | |
| contentLineNumber | back to summary |
|---|---|
| protected int contentLineNumber | |
| EXAMPLE_BREAK | back to summary |
|---|---|
| public static final String EXAMPLE_BREAK | |
| EXAMPLE_KEYWORD | back to summary |
|---|---|
| public static final String EXAMPLE_KEYWORD | |
| EXAMPLE_START | back to summary |
|---|---|
| public static final String EXAMPLE_START | |
| EXAMPLE_START_NBSP | back to summary |
|---|---|
| public static final String EXAMPLE_START_NBSP | |
| EXAMPLE_TEST_BREAK | back to summary |
|---|---|
| public static final String EXAMPLE_TEST_BREAK | |
| EXAMPLE_TEST_START | back to summary |
|---|---|
| public static final String EXAMPLE_TEST_START | |
| exampleNumber | back to summary |
|---|---|
| protected int exampleNumber | |
| examples | back to summary |
|---|---|
| protected final List<SpecExample> examples | |
| html | back to summary |
|---|---|
| protected StringBuilder html | |
| inputStream | back to summary |
|---|---|
| protected final @NotNull InputStream inputStream
| |
| lastSectionLevel | back to summary |
|---|---|
| protected int lastSectionLevel | |
| lineNumber | back to summary |
|---|---|
| protected int lineNumber | |
| OPTIONS_KEYWORD | back to summary |
|---|---|
| public static final String OPTIONS_KEYWORD | |
| OPTIONS_PATTERN | back to summary |
|---|---|
| public static final Pattern OPTIONS_PATTERN | |
| OPTIONS_STRING | back to summary |
|---|---|
| public static final String OPTIONS_STRING | |
| optionsSet | back to summary |
|---|---|
| protected String optionsSet | |
| resourceLocation | back to summary |
|---|---|
| protected final @NotNull ResourceLocation resourceLocation
| |
| section | back to summary |
|---|---|
| protected String section | |
| SECTION_BREAK | back to summary |
|---|---|
| public static final String SECTION_BREAK | |
| SECTION_PATTERN | back to summary |
|---|---|
| protected static final Pattern SECTION_PATTERN | |
| SECTION_TEST_BREAK | back to summary |
|---|---|
| public static final String SECTION_TEST_BREAK | |
| sections | back to summary |
|---|---|
| protected final String[] sections | |
| source | back to summary |
|---|---|
| protected StringBuilder source | |
| state | back to summary |
|---|---|
| protected SpecReader. | |
| SpecReader | back to summary |
|---|---|
| public SpecReader(@NotNull InputStream stream, @NotNull ResourceLocation location, boolean compoundSections) | |
| addSpecExample | back to summary |
|---|---|
| protected void addSpecExample(@NotNull SpecExample example) | |
| addSpecLine | back to summary |
|---|---|
| protected void addSpecLine(String line, boolean isSpecExampleOpen) | |
| create | back to summary |
|---|---|
public static @NotNull SpecReader create(@NotNull ResourceLocation location, boolean compoundSections)
| |
| create | back to summary |
|---|---|
public static <S extends SpecReader> S create(@NotNull ResourceLocation location, @NotNull SpecReaderFactory<S> readerFactory)
| |
| createAndReadExamples | back to summary |
|---|---|
public static @NotNull SpecReader createAndReadExamples(@NotNull ResourceLocation location, boolean compoundSections)
| |
| createAndReadExamples | back to summary |
|---|---|
public static <S extends SpecReader> S createAndReadExamples(@NotNull ResourceLocation location, @NotNull SpecReaderFactory<S> readerFactory)
| |
| getExamples | back to summary |
|---|---|
public @NotNull List
| |
| getExamplesSourceAsString | back to summary |
|---|---|
public @NotNull List
| |
| getFileUrl | back to summary |
|---|---|
public @NotNull String getFileUrl()
| |
| getResourceLocation | back to summary |
|---|---|
public @NotNull ResourceLocation getResourceLocation()
| |
| processLine | back to summary |
|---|---|
| protected void processLine(String line) | |
| readExamples | back to summary |
|---|---|
| public void readExamples() | |
| resetContents | back to summary |
|---|---|
| protected void resetContents() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SpecReader. | |
| public static final SpecReader. | |
| public static final SpecReader. | |
| public static final SpecReader. | |
| public static final SpecReader. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpecReader. | |
| public static SpecReader. |
| AST | back to summary |
|---|---|
| public static final SpecReader. | |
| BEFORE | back to summary |
|---|---|
| public static final SpecReader. | |
| COMMENT | back to summary |
|---|---|
| public static final SpecReader. | |
| HTML | back to summary |
|---|---|
| public static final SpecReader. | |
| SOURCE | back to summary |
|---|---|
| public static final SpecReader. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static SpecReader. | |
| values | back to summary |
|---|---|
| public static SpecReader. | |