Index
All Classes and Interfaces|All Packages
A
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.NodeAttribute
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextNode
-
Hook for an AST visitor.
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.format.Bold
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.format.Italic
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.layout.IndentedBlock
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.layout.LineBreak
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.layout.XMLContainerElement
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.layout.XMLStandaloneElement
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.CategoryLink
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.ExternalLink
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.UnnamedExternalLink
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLink
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.list.ListItem
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.list.WikiTextList
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.root.Article
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.root.CategoryList
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.root.CategoryList.Category
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.root.Redirect
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.sections.HorizontalRule
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.sections.Section
- accept(WikiTextASTVisitor<T>) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.sections.Text
- article() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns the value of the
article
record component. - Article - Class in com.lucaskjaerozhang.wikitext_parser.ast.root
-
The root of the AST, containing all content below.
- Article(List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.root.Article
-
Creates a tree from the given content.
B
- Bold - Class in com.lucaskjaerozhang.wikitext_parser.ast.format
-
Bolded text.
WikiText: '''text'''
XML: bold - Bold(List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.format.Bold
-
Constructs the Bold node.
C
- Category(List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.root.CategoryList.Category
-
Creates one category node.
- CATEGORY - Enum constant in enum class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponentType
-
Places the article in a category
- CategoryLink - Class in com.lucaskjaerozhang.wikitext_parser.ast.link
-
A special type of wikilink that places articles within categories.
WikiText: [[:category]] or [[:category|display]]
XML: category - CategoryLink(WikiLinkTarget, List<WikiTextNode>, boolean) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.link.CategoryLink
-
Creates a category link.
- CategoryList - Class in com.lucaskjaerozhang.wikitext_parser.ast.root
-
A list of categories that the article belongs to.
- CategoryList(List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.root.CategoryList
-
Creates a category list from a list of nodes.
- CategoryList.Category - Class in com.lucaskjaerozhang.wikitext_parser.ast.root
-
Categories contained within the list.
- com.lucaskjaerozhang.wikitext_parser - package com.lucaskjaerozhang.wikitext_parser
- com.lucaskjaerozhang.wikitext_parser.ast.base - package com.lucaskjaerozhang.wikitext_parser.ast.base
- com.lucaskjaerozhang.wikitext_parser.ast.format - package com.lucaskjaerozhang.wikitext_parser.ast.format
- com.lucaskjaerozhang.wikitext_parser.ast.layout - package com.lucaskjaerozhang.wikitext_parser.ast.layout
- com.lucaskjaerozhang.wikitext_parser.ast.link - package com.lucaskjaerozhang.wikitext_parser.ast.link
- com.lucaskjaerozhang.wikitext_parser.ast.list - package com.lucaskjaerozhang.wikitext_parser.ast.list
- com.lucaskjaerozhang.wikitext_parser.ast.root - package com.lucaskjaerozhang.wikitext_parser.ast.root
- com.lucaskjaerozhang.wikitext_parser.ast.sections - package com.lucaskjaerozhang.wikitext_parser.ast.sections
- com.lucaskjaerozhang.wikitext_parser.parse - package com.lucaskjaerozhang.wikitext_parser.parse
- com.lucaskjaerozhang.wikitext_parser.visitor - package com.lucaskjaerozhang.wikitext_parser.visitor
- com.lucaskjaerozhang.wikitext_parser.xml - package com.lucaskjaerozhang.wikitext_parser.xml
- compareTo(NodeAttribute) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.NodeAttribute
D
- DESCRIPTION - Enum constant in enum class com.lucaskjaerozhang.wikitext_parser.ast.list.ListType
-
An unordered list where there is a description at the top.
E
- equals(Object) - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Indicates whether some other object is "equal to" this one.
- ExternalLink - Class in com.lucaskjaerozhang.wikitext_parser.ast.link
-
A link that goes outside of the wiki.
WikiText: [link display]
XML: link - ExternalLink(String, boolean, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.link.ExternalLink
-
Constructs an external link.
F
- from(String, List<WikiLinkNamespaceComponent>, String, Optional<String>) - Static method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Creates a wikilink target
- from(List<WikiTextNode>, CategoryList) - Static method in class com.lucaskjaerozhang.wikitext_parser.ast.root.Article
-
Creates an article with the given categories.
- from(Set<String>) - Static method in class com.lucaskjaerozhang.wikitext_parser.ast.root.CategoryList
-
Convenience method to create a list of categories.
G
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextNode
-
Base case for getting element attributes.
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.layout.IndentedBlock
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.ExternalLink
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.UnnamedExternalLink
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLink
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.list.ListItem
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.list.WikiTextList
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.root.Redirect
- getAttributes() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.sections.Section
- getAutomaticallyReformattedDisplayName(WikiLinkTarget) - Static method in class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLink
-
Gets a wikilink that has the display text automatically generated.
- getCategories() - Method in interface com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextElement
-
Category links are leaf nodes but we want to include them as attributes of an article.
- getCategories() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextParentNode
- getCategories() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.CategoryLink
- getComponent() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponent
-
Get the namespace component
- getContent() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.sections.Text
-
Get the content within the node.
- getFieldValuesFromChildren(List<WikiTextNode>, Function<? super WikiTextNode, Set<String>>) - Static method in class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextParentNode
-
There is data that flow up to the root from leaf nodes.
- getLevel() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.list.ListItem
-
List items can have sublists.
- getLexerFromText(String, List<ANTLRErrorListener>) - Static method in class com.lucaskjaerozhang.wikitext_parser.parse.ParseTreeBuilder
-
Creates a lexer from the given text.
- getParserFromText(String, TemplateProvider, List<ANTLRErrorListener>, boolean) - Static method in class com.lucaskjaerozhang.wikitext_parser.parse.ParseTreeBuilder
-
Builds the parse tree
- getTemplate(String) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.TreeConstructionContext
- getType() - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponent
-
This class detects what type of namespace component the input string is based on what it is.
H
- hashCode() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns a hash code value for this object.
- HorizontalRule - Class in com.lucaskjaerozhang.wikitext_parser.ast.sections
-
A horizontal rule.
WikiText: ----
XML: horizontalRule - HorizontalRule() - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.sections.HorizontalRule
I
- IndentedBlock - Class in com.lucaskjaerozhang.wikitext_parser.ast.layout
-
An indented block.
WikiText: : text
Text can be indented more than once, with one level per :.
One level - : One
Two levels - :: Two
... - IndentedBlock(Integer, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.layout.IndentedBlock
-
Constructs the indented block node.
- isCategory() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns the value of the
isCategory
record component. - Italic - Class in com.lucaskjaerozhang.wikitext_parser.ast.format
-
Italicized text.
WikiText: ''text''
XML: italic - Italic(List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.format.Italic
-
Constructs the italic node.
L
- language() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns the value of the
language
record component. - LANGUAGE - Enum constant in enum class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponentType
-
An article in a different language.
- LineBreak - Class in com.lucaskjaerozhang.wikitext_parser.ast.layout
-
An line break
WikiText: \n\n
XML: br - LineBreak() - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.layout.LineBreak
- ListItem - Class in com.lucaskjaerozhang.wikitext_parser.ast.list
-
An item within a list
WikiText: * item, # item, or :item
XML: listItem - ListItem(Optional<Integer>, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.list.ListItem
-
Create a list item.
- ListType - Enum Class in com.lucaskjaerozhang.wikitext_parser.ast.list
-
Defines which type of list a particular list is.
N
- NAMESPACE - Enum constant in enum class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponentType
-
The article's namespace.
- NodeAttribute - Class in com.lucaskjaerozhang.wikitext_parser.ast.base
-
An attribute for a node.
- NodeAttribute(String, String) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.base.NodeAttribute
-
An attribute for a node.
- NodeAttribute(String, String, boolean) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.base.NodeAttribute
-
An attribute for a node.
O
- ORDERED - Enum constant in enum class com.lucaskjaerozhang.wikitext_parser.ast.list.ListType
-
A list where the items are ordered.
P
- parse(String) - Static method in class com.lucaskjaerozhang.wikitext_parser.WikiTextParser
-
Generate the AST of a string input.
- parseToString(String) - Static method in class com.lucaskjaerozhang.wikitext_parser.WikiTextParser
-
Parses the wikitext to XML.
- ParseTreeBuilder - Class in com.lucaskjaerozhang.wikitext_parser.parse
-
Here we invoke antlr to build the parse tree.
- ParseTreeBuilder() - Constructor for class com.lucaskjaerozhang.wikitext_parser.parse.ParseTreeBuilder
R
- rebuildWithContext(TreeConstructionContext) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextNode
- rebuildWithContext(TreeConstructionContext) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextParentNode
- rebuildWithContext(TreeConstructionContext) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.layout.XMLContainerElement
- rebuildWithContext(TreeConstructionContext) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.link.ExternalLink
- rebuildWithContext(TreeConstructionContext) - Method in class com.lucaskjaerozhang.wikitext_parser.ast.sections.Text
- Redirect - Class in com.lucaskjaerozhang.wikitext_parser.ast.root
-
Alternative to an article indicating the article redirects to another one.
- Redirect(WikiLink) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.root.Redirect
-
Creates a redirect.
S
- section() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns the value of the
section
record component. - Section - Class in com.lucaskjaerozhang.wikitext_parser.ast.sections
-
The contents of a section.
WikiText: ## Section title ##\n content
XML: section - Section(String, Integer, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.sections.Section
-
Creates a section.
T
- Text - Class in com.lucaskjaerozhang.wikitext_parser.ast.sections
-
Plain text that is not formatted in any way.
- Text(String) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.sections.Text
-
Creates a text node
- toString() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns a string representation of this record class.
- toString() - Method in enum class com.lucaskjaerozhang.wikitext_parser.ast.list.ListType
- TreeConstructionContext - Class in com.lucaskjaerozhang.wikitext_parser.ast.base
-
Context that is passed through the tree as it is constructed.
- TreeConstructionContext() - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.base.TreeConstructionContext
U
- UnnamedExternalLink - Class in com.lucaskjaerozhang.wikitext_parser.ast.link
-
A link that goes outside of the wiki which gets automatic numbering rather than display text.
WikiText: [link]
XML: link - UnnamedExternalLink(String, Boolean) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.link.UnnamedExternalLink
-
Creates an external link without a name.
- UNORDERED - Enum constant in enum class com.lucaskjaerozhang.wikitext_parser.ast.list.ListType
-
A list where the items are not ordered.
V
- valueOf(String) - Static method in enum class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.lucaskjaerozhang.wikitext_parser.ast.list.ListType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.lucaskjaerozhang.wikitext_parser.ast.list.ListType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visitArticle(Article) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitArticle(Article) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitArticle(Article) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitAutomaticallyRenamedCategoryLink(WikiTextParser.AutomaticallyRenamedCategoryLinkContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitAutomaticallyRenamedWikiLink(WikiTextParser.AutomaticallyRenamedWikiLinkContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitBaseWikiLink(WikiTextParser.BaseWikiLinkContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitBold(Bold) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitBold(Bold) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitBold(Bold) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitBold(WikiTextParser.BoldContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitCategory(CategoryList.Category) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitCategory(CategoryList.Category) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitCategory(CategoryList.Category) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitCategoryLink(CategoryLink) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitCategoryLink(CategoryLink) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitCategoryLink(CategoryLink) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitCategoryList(CategoryList) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitCategoryList(CategoryList) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitCategoryList(CategoryList) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitChildren(List<WikiTextNode>) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitChildren(List<WikiTextNode>) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitContainerXMLTag(WikiTextParser.ContainerXMLTagContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitDescriptionList(WikiTextParser.DescriptionListContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitDescriptionListItem(WikiTextParser.DescriptionListItemContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitDoubleQuoteTagAttribute(WikiTextParser.DoubleQuoteTagAttributeContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitEnclosingOrderedListItem(WikiTextParser.EnclosingOrderedListItemContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitEnclosingUnorderedListItem(WikiTextParser.EnclosingUnorderedListItemContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitExternalLink(ExternalLink) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitExternalLink(ExternalLink) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitExternalLink(ExternalLink) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitHorizontalRule(HorizontalRule) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitHorizontalRule(HorizontalRule) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitHorizontalRule(HorizontalRule) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitHorizontalRule(WikiTextParser.HorizontalRuleContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitIndentedBlock(IndentedBlock) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitIndentedBlock(IndentedBlock) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitIndentedBlock(IndentedBlock) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitIndentedBlock(WikiTextParser.IndentedBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitItalic(Italic) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitItalic(Italic) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitItalic(Italic) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitItalics(WikiTextParser.ItalicsContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitLineBreak(LineBreak) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitLineBreak(LineBreak) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitLineBreak(LineBreak) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitLineBreak(WikiTextParser.LineBreakContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitListItem(ListItem) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitListItem(ListItem) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitListItem(ListItem) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitLowercaseCodeBlock(WikiTextParser.LowercaseCodeBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitLowercaseMathBlock(WikiTextParser.LowercaseMathBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitLowercaseNowikiBlock(WikiTextParser.LowercaseNowikiBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitLowercaseSyntaxHighlightBlock(WikiTextParser.LowercaseSyntaxHighlightBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitNamedExternalLink(WikiTextParser.NamedExternalLinkContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitNodeAttribute(NodeAttribute) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitNodeAttribute(NodeAttribute) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitNodeAttribute(NodeAttribute) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitOrderedList(WikiTextParser.OrderedListContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitRedirect(Redirect) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitRedirect(Redirect) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitRedirect(Redirect) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitRedirect(WikiTextParser.RedirectContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitRenamedWikiLink(WikiTextParser.RenamedWikiLinkContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitRoot(WikiTextParser.RootContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitSection(Section) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitSection(Section) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitSection(Section) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitSectionLevelFive(WikiTextParser.SectionLevelFiveContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitSectionLevelFour(WikiTextParser.SectionLevelFourContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitSectionLevelOne(WikiTextParser.SectionLevelOneContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitSectionLevelSix(WikiTextParser.SectionLevelSixContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitSectionLevelThree(WikiTextParser.SectionLevelThreeContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitSectionLevelTwo(WikiTextParser.SectionLevelTwoContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitSingleQuoteTagAttribute(WikiTextParser.SingleQuoteTagAttributeContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitStandaloneXMLTag(WikiTextParser.StandaloneXMLTagContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitTerminal(TerminalNode) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitTerminalOrderedListItem(WikiTextParser.TerminalOrderedListItemContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitTerminalUnorderedListItem(WikiTextParser.TerminalUnorderedListItemContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitText(Text) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitText(Text) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitText(Text) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitText(WikiTextParser.TextContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitTreeFromText(String, TemplateProvider) - Static method in class com.lucaskjaerozhang.wikitext_parser.parse.ParseTreeBuilder
-
Does the parsing with default settings.
- visitTreeFromText(String, TemplateProvider, boolean) - Static method in class com.lucaskjaerozhang.wikitext_parser.parse.ParseTreeBuilder
-
Does the parsing with the option to enable trace logs.
- visitTreeFromText(String, TemplateProvider, List<ANTLRErrorListener>, boolean) - Static method in class com.lucaskjaerozhang.wikitext_parser.parse.ParseTreeBuilder
-
Does the parsing with the included error listeners and the option to enable trace logs.
- visitUnnamedExternalLink(UnnamedExternalLink) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitUnnamedExternalLink(UnnamedExternalLink) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitUnnamedExternalLink(UnnamedExternalLink) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitUnnamedExternalLink(WikiTextParser.UnnamedExternalLinkContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitUnorderedList(WikiTextParser.UnorderedListContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitUppercaseCodeBlock(WikiTextParser.UppercaseCodeBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitUppercaseMathBlock(WikiTextParser.UppercaseMathBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitUppercaseNowikiBlock(WikiTextParser.UppercaseNowikiBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitUppercaseSyntaxHighlightCodeBlock(WikiTextParser.UppercaseSyntaxHighlightCodeBlockContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitVisibleCategoryLink(WikiTextParser.VisibleCategoryLinkContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitWikiLink(WikiLink) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitWikiLink(WikiLink) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitWikiLink(WikiLink) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitWikiLinkNamespaceComponent(WikiTextParser.WikiLinkNamespaceComponentContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitWikiLinkSectionComponent(WikiTextParser.WikiLinkSectionComponentContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitWikiLinkTarget(WikiTextParser.WikiLinkTargetContext) - Method in class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- visitWikiTextList(WikiTextList) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitWikiTextList(WikiTextList) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitWikiTextList(WikiTextList) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitXMLContainerElement(XMLContainerElement) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitXMLContainerElement(XMLContainerElement) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitXMLContainerElement(XMLContainerElement) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
- visitXMLStandaloneElement(XMLStandaloneElement) - Method in interface com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextASTVisitor
- visitXMLStandaloneElement(XMLStandaloneElement) - Method in class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- visitXMLStandaloneElement(XMLStandaloneElement) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
W
- wholeLink() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns the value of the
wholeLink
record component. - wiki() - Method in record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Returns the value of the
wiki
record component. - WIKI - Enum constant in enum class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponentType
-
Whether the article is in a different wiki or not.
- WikiLink - Class in com.lucaskjaerozhang.wikitext_parser.ast.link
-
A link to a wiki page within this or other wikis.
- WikiLink(WikiLinkTarget, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLink
-
Generates a wikilink.
- WikiLinkNamespaceComponent - Class in com.lucaskjaerozhang.wikitext_parser.ast.link
-
A prefix component of a wikilink target showing where to locate the article.
Types: category language namespace wiki - WikiLinkNamespaceComponent(String) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkNamespaceComponent
-
Creates a namespace component from the given string, automatically detecting what type of namespace component it is.
- WikiLinkNamespaceComponentType - Enum Class in com.lucaskjaerozhang.wikitext_parser.ast.link
-
An enum representing the types of WikiLink Namespaces.
- WikiLinkTarget - Record Class in com.lucaskjaerozhang.wikitext_parser.ast.link
-
Wiki links look like [[wiki:language:article#section|display]], and the first half before the pipe is the target.
- WikiLinkTarget(String, Optional<String>, Optional<String>, String, Optional<String>, boolean) - Constructor for record class com.lucaskjaerozhang.wikitext_parser.ast.link.WikiLinkTarget
-
Creates an instance of a
WikiLinkTarget
record class. - WikiTextASTVisitor<T> - Interface in com.lucaskjaerozhang.wikitext_parser.visitor
- WikiTextBaseASTVisitor<T> - Class in com.lucaskjaerozhang.wikitext_parser.visitor
-
Provides a visitor implementation that does the minimum needed to let you skip implementation steps.
- WikiTextBaseASTVisitor() - Constructor for class com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor
- WikiTextElement - Interface in com.lucaskjaerozhang.wikitext_parser.ast.base
-
The main interface for all AST nodes.
- WikiTextList - Class in com.lucaskjaerozhang.wikitext_parser.ast.list
-
Represents a list in Wikitext.
Intentionally calling this a WikiTextList to avoid colliding with java.util.List - WikiTextList(ListType, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.list.WikiTextList
-
Creates a list without a title.
- WikiTextList(ListType, Optional<String>, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.list.WikiTextList
-
Creates a list with title.
- WikiTextNode - Class in com.lucaskjaerozhang.wikitext_parser.ast.base
-
The interface for all types of AST nodes.
- WikiTextNode() - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextNode
- WikiTextParentNode - Class in com.lucaskjaerozhang.wikitext_parser.ast.base
-
A node that has child nodes.
- WikiTextParentNode(List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.base.WikiTextParentNode
-
Constructs the node
- WikiTextParser - Class in com.lucaskjaerozhang.wikitext_parser
-
The main class consumers of this library should use.
- WikiTextParser() - Constructor for class com.lucaskjaerozhang.wikitext_parser.WikiTextParser
- WikitextParseTreeVisitor - Class in com.lucaskjaerozhang.wikitext_parser.parse
-
A visitor that converts the parse tree to the AST.
- WikitextParseTreeVisitor() - Constructor for class com.lucaskjaerozhang.wikitext_parser.parse.WikitextParseTreeVisitor
- writeToString(WikiTextNode) - Static method in class com.lucaskjaerozhang.wikitext_parser.WikiTextParser
-
Writes an AST to an xml string.
- writeXML(WikiTextNode) - Method in class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
X
- XMLContainerElement - Class in com.lucaskjaerozhang.wikitext_parser.ast.layout
-
An XML node with children.
- XMLContainerElement(String, List<NodeAttribute>, List<WikiTextNode>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.layout.XMLContainerElement
-
Creates an XML container node.
- XMLStandaloneElement - Class in com.lucaskjaerozhang.wikitext_parser.ast.layout
-
An XML node with no children.
- XMLStandaloneElement(String, List<NodeAttribute>) - Constructor for class com.lucaskjaerozhang.wikitext_parser.ast.layout.XMLStandaloneElement
-
Creates an XML node with no children.
- XMLWriter - Class in com.lucaskjaerozhang.wikitext_parser.xml
- XMLWriter() - Constructor for class com.lucaskjaerozhang.wikitext_parser.xml.XMLWriter
All Classes and Interfaces|All Packages