| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| protected static final Integer | |
| protected BstVMContext | |
| private Path | |
| protected final ParseTree | |
| protected static final Integer |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| protected | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static ParseTree | |
| protected Deque | |
| public String | Returns: list of references in plain text formlist of entries to convert bibEntries, BibDatabase (may be null) the bibDatabase used for resolving strings / crossref bibDatabase)Transforms the given list of BibEntries to a rendered list of references using the parsed bst program |
| public String |
| FALSE | back to summary |
|---|---|
| protected static final Integer FALSE | |
| latestContext | back to summary |
|---|---|
| protected BstVMContext latestContext | |
| path | back to summary |
|---|---|
| private Path path | |
| tree | back to summary |
|---|---|
| protected final ParseTree tree | |
| TRUE | back to summary |
|---|---|
| protected static final Integer TRUE | |
| BstVM | back to summary |
|---|---|
| public BstVM(Path path) throws RecognitionException, IOException | |
| BstVM | back to summary |
|---|---|
| public BstVM(String s) throws RecognitionException | |
| BstVM | back to summary |
|---|---|
| protected BstVM(CharStream bst) throws RecognitionException | |
| BstVM | back to summary |
|---|---|
| private BstVM(ParseTree tree) | |
| charStream2CommonTree | back to summary |
|---|---|
| private static ParseTree charStream2CommonTree(CharStream query) | |
| getStack | back to summary |
|---|---|
| protected Deque | |
| render | back to summary |
|---|---|
| public String render(Collection<BibEntry> bibEntries, BibDatabase bibDatabase) Transforms the given list of BibEntries to a rendered list of references using the parsed bst program
| |
| render | back to summary |
|---|---|
| public String render(Collection<BibEntry> bibEntries) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BstVM. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | syntaxError(Recognizer<?, ?>
What parser got the error. From this
object, you can access the context as well
as the input stream. recognizer, Object The offending token in the input token
stream, unless recognizer is a lexer (then it's null). If
no viable alternative error, offendingSymbol, int e has token at which we
started production for the decision.The line number in the input where the error occurred. line, int The character position within that line where the error occurred. charPositionInLine, String The message to emit. msg, RecognitionException The exception generated by the parser that led to
the reporting of an error. It is null in the case where
the parser was able to recover in line without exiting the
surrounding rule. e)Overrides org. Implements org. Upon syntax error, notify any interested parties. |
| INSTANCE | back to summary |
|---|---|
| public static final BstVM. | |
| ThrowingErrorListener | back to summary |
|---|---|
| private ThrowingErrorListener() | |
| syntaxError | back to summary |
|---|---|
| public void syntaxError(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) throws ParseCancellationException Overrides org. Implements org. Doc from org. Upon syntax error, notify any interested parties. This is not how to
recover from errors or compute error messages. The
| |