| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final Pattern | |
| private static final String[] | CITE_COMMANDS
It is allowed to add new cite commands for pattern matching. |
| private static final String | |
| private static final Pattern | |
| private static final String | |
| private static final Pattern | |
| private static final Logger | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | matchBibFile(Path file, String line, LatexParserResult latexParserResult)
Find BIB files along a specific line and store them. |
| private void | matchCitation(Path file, int lineNumber, String line, LatexParserResult latexParserResult)
Find cites along a specific line and store them. |
| private void | matchNestedFile(Path texFile, String line, LatexParserResult latexParserResult)
Find inputs and includes along a specific line and store them for parsing later. |
| public LatexParserResult | parse(String
String that contains a citation citeString)Implements org. For testing purposes. |
| public Optional | parse(Path
Path to a LaTeX file latexFile)Implements org. Parse a single LaTeX file. |
| public LatexParserResults | parse(List<Path>
List of Path objects linked to a LaTeX file latexFiles)Implements org. Parse a list of LaTeX files. |
| BIB_EXT | back to summary |
|---|---|
| private static final String BIB_EXT | |
| BIBLIOGRAPHY_GROUP | back to summary |
|---|---|
| private static final String BIBLIOGRAPHY_GROUP | |
| BIBLIOGRAPHY_PATTERN | back to summary |
|---|---|
| private static final Pattern BIBLIOGRAPHY_PATTERN | |
| CITE_COMMANDS | back to summary |
|---|---|
| private static final String[] CITE_COMMANDS It is allowed to add new cite commands for pattern matching. Some valid examples: "citep", "[cC]ite", and "[cC]ite(author|title|year|t|p)?". | |
| CITE_GROUP | back to summary |
|---|---|
| private static final String CITE_GROUP | |
| CITE_PATTERN | back to summary |
|---|---|
| private static final Pattern CITE_PATTERN | |
| INCLUDE_GROUP | back to summary |
|---|---|
| private static final String INCLUDE_GROUP | |
| INCLUDE_PATTERN | back to summary |
|---|---|
| private static final Pattern INCLUDE_PATTERN | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| TEX_EXT | back to summary |
|---|---|
| private static final String TEX_EXT | |
| DefaultLatexParser | back to summary |
|---|---|
| public DefaultLatexParser() | |
| matchBibFile | back to summary |
|---|---|
| private void matchBibFile(Path file, String line, LatexParserResult latexParserResult) Find BIB files along a specific line and store them. | |
| matchCitation | back to summary |
|---|---|
| private void matchCitation(Path file, int lineNumber, String line, LatexParserResult latexParserResult) Find cites along a specific line and store them. | |
| matchNestedFile | back to summary |
|---|---|
| private void matchNestedFile(Path texFile, String line, LatexParserResult latexParserResult) Find inputs and includes along a specific line and store them for parsing later. | |
| parse | back to summary |
|---|---|
| public LatexParserResult parse(String citeString) Implements org. Doc from org. For testing purposes.
| |
| parse | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Parse a single LaTeX file.
| |
| parse | back to summary |
|---|---|
| public LatexParserResults parse(List<Path> latexFiles) Implements org. Doc from org. Parse a list of LaTeX files.
| |