Package org.qdl_lang.parsing
Class QDLParserDriver
- java.lang.Object
-
- org.qdl_lang.parsing.QDLParserDriver
-
public class QDLParserDriver extends Object
The main parser. Feed it text, it returns a list of elements which may be executed.Created by Jeff Gaynor
on 1/10/20 at 2:21 PM
-
-
Constructor Summary
Constructors Constructor Description QDLParserDriver(edu.uiuc.ncsa.security.core.configuration.XProperties environment, State state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Reader reader)
void
execute(String line)
protected void
executeDirectly(Reader reader)
protected void
executeTreeWalker(Reader reader)
ArrayList<Element>
getElements()
protected QDLParserParser
getParser(Reader reader, State state)
protected QDLParserParser
getParser2(InputStream inputStream, State state)
boolean
isDebugOn()
ArrayList<Element>
parse(Reader reader)
protected Reader
preProcessStream(Reader reader, edu.uiuc.ncsa.security.core.configuration.XProperties replacements)
void
setDebugOn(boolean debugOn)
-
-
-
Constructor Detail
-
QDLParserDriver
public QDLParserDriver(edu.uiuc.ncsa.security.core.configuration.XProperties environment, State state)
-
-
Method Detail
-
isDebugOn
public boolean isDebugOn()
-
setDebugOn
public void setDebugOn(boolean debugOn)
-
preProcessStream
protected Reader preProcessStream(Reader reader, edu.uiuc.ncsa.security.core.configuration.XProperties replacements) throws Exception
- Throws:
Exception
-
getParser2
protected QDLParserParser getParser2(InputStream inputStream, State state) throws Throwable
- Throws:
Throwable
-
getParser
protected QDLParserParser getParser(Reader reader, State state) throws Throwable
- Throws:
Throwable
-
executeTreeWalker
protected void executeTreeWalker(Reader reader) throws Throwable
- Throws:
Throwable
-
-