Package edu.uiuc.ncsa.qdl.parsing
Class IniListenerImpl
- java.lang.Object
-
- edu.uiuc.ncsa.qdl.parsing.IniListenerImpl
-
- All Implemented Interfaces:
iniListener
,org.antlr.v4.runtime.tree.ParseTreeListener
public class IniListenerImpl extends Object implements iniListener
Created by Jeff Gaynor
on 10/11/21 at 8:15 AM
-
-
Constructor Summary
Constructors Constructor Description IniListenerImpl(QDLStem output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkLexer(org.antlr.v4.runtime.ParserRuleContext pre)
First cut of catching lexer exceptions and handling themprotected Object
convertEntryToValue(iniParser.EntryContext entryContext)
void
enterEntries(iniParser.EntriesContext ctx)
Enter a parse tree produced byiniParser.entries()
.void
enterEntry(iniParser.EntryContext ctx)
Enter a parse tree produced byiniParser.entry()
.void
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext parserRuleContext)
void
enterIni(iniParser.IniContext ctx)
Enter a parse tree produced byiniParser.ini()
.void
enterLine(iniParser.LineContext ctx)
Enter a parse tree produced byiniParser.line()
.void
enterSection(iniParser.SectionContext ctx)
Enter a parse tree produced byiniParser.section()
.void
enterSectionheader(iniParser.SectionheaderContext ctx)
Enter a parse tree produced byiniParser.sectionheader()
.void
exitEntries(iniParser.EntriesContext ctx)
Exit a parse tree produced byiniParser.entries()
.void
exitEntry(iniParser.EntryContext ctx)
Exit a parse tree produced byiniParser.entry()
.void
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext parserRuleContext)
void
exitIni(iniParser.IniContext ctx)
Exit a parse tree produced byiniParser.ini()
.void
exitLine(iniParser.LineContext ctx)
Exit a parse tree produced byiniParser.line()
.void
exitSection(iniParser.SectionContext ctx)
Exit a parse tree produced byiniParser.section()
.void
exitSectionheader(iniParser.SectionheaderContext ctx)
Exit a parse tree produced byiniParser.sectionheader()
.QDLStem
getOutput()
boolean
isAllowListEntries()
void
setAllowListEntries(boolean allowListEntries)
void
setOutput(QDLStem output)
void
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode errorNode)
void
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode terminalNode)
-
-
-
Constructor Detail
-
IniListenerImpl
public IniListenerImpl(QDLStem output)
-
-
Method Detail
-
getOutput
public QDLStem getOutput()
-
setOutput
public void setOutput(QDLStem output)
-
enterIni
public void enterIni(iniParser.IniContext ctx)
Description copied from interface:iniListener
Enter a parse tree produced byiniParser.ini()
.- Specified by:
enterIni
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
exitIni
public void exitIni(iniParser.IniContext ctx)
Description copied from interface:iniListener
Exit a parse tree produced byiniParser.ini()
.- Specified by:
exitIni
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
enterSection
public void enterSection(iniParser.SectionContext ctx)
Description copied from interface:iniListener
Enter a parse tree produced byiniParser.section()
.- Specified by:
enterSection
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
exitSection
public void exitSection(iniParser.SectionContext ctx)
Description copied from interface:iniListener
Exit a parse tree produced byiniParser.section()
.- Specified by:
exitSection
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
enterSectionheader
public void enterSectionheader(iniParser.SectionheaderContext ctx)
Description copied from interface:iniListener
Enter a parse tree produced byiniParser.sectionheader()
.- Specified by:
enterSectionheader
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
exitSectionheader
public void exitSectionheader(iniParser.SectionheaderContext ctx)
Description copied from interface:iniListener
Exit a parse tree produced byiniParser.sectionheader()
.- Specified by:
exitSectionheader
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
enterLine
public void enterLine(iniParser.LineContext ctx)
Description copied from interface:iniListener
Enter a parse tree produced byiniParser.line()
.- Specified by:
enterLine
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
isAllowListEntries
public boolean isAllowListEntries()
-
setAllowListEntries
public void setAllowListEntries(boolean allowListEntries)
-
exitLine
public void exitLine(iniParser.LineContext ctx)
Description copied from interface:iniListener
Exit a parse tree produced byiniParser.line()
.- Specified by:
exitLine
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
enterEntries
public void enterEntries(iniParser.EntriesContext ctx)
Description copied from interface:iniListener
Enter a parse tree produced byiniParser.entries()
.- Specified by:
enterEntries
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
exitEntries
public void exitEntries(iniParser.EntriesContext ctx)
Description copied from interface:iniListener
Exit a parse tree produced byiniParser.entries()
.- Specified by:
exitEntries
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
convertEntryToValue
protected Object convertEntryToValue(iniParser.EntryContext entryContext)
-
enterEntry
public void enterEntry(iniParser.EntryContext ctx)
Description copied from interface:iniListener
Enter a parse tree produced byiniParser.entry()
.- Specified by:
enterEntry
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
exitEntry
public void exitEntry(iniParser.EntryContext ctx)
Description copied from interface:iniListener
Exit a parse tree produced byiniParser.entry()
.- Specified by:
exitEntry
in interfaceiniListener
- Parameters:
ctx
- the parse tree
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode terminalNode)
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode errorNode)
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext parserRuleContext)
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext parserRuleContext)
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
checkLexer
protected void checkLexer(org.antlr.v4.runtime.ParserRuleContext pre)
First cut of catching lexer exceptions and handling them- Parameters:
pre
-
-
-