public class DungParser extends net.sf.tweety.commons.Parser implements DungParserConstants
| Modifier and Type | Field and Description |
|---|---|
static Token |
jj_nt
Next token.
|
static Token |
token
Current token.
|
static DungParserTokenManager |
token_source
Generated Token Manager.
|
ARGUMENT_NAME, DEFAULT, EOF, tokenImage| Constructor and Description |
|---|
DungParser() |
DungParser(DungParserTokenManager tm)
Constructor with generated Token Manager.
|
DungParser(InputStream stream)
Constructor with InputStream.
|
DungParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
DungParser(Reader stream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Argument(DungTheory dungTheory) |
static void |
Attack(DungTheory dungTheory) |
static void |
disable_tracing()
Disable tracing.
|
static void |
enable_tracing()
Enable tracing.
|
static void |
Expression(DungTheory dungTheory) |
static ParseException |
generateParseException()
Generate ParseException.
|
static Token |
getNextToken()
Get the next Token.
|
static Token |
getToken(int index)
Get the specific Token.
|
DungTheory |
parseBeliefBase(Reader reader) |
net.sf.tweety.commons.Formula |
parseFormula(Reader reader) |
void |
ReInit(DungParserTokenManager tm)
Reinitialise.
|
static void |
ReInit(InputStream stream)
Reinitialise.
|
static void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
static void |
ReInit(Reader stream)
Reinitialise.
|
static Argument |
SingleArgument() |
static Attack |
SingleAttack() |
static net.sf.tweety.commons.Formula |
SingleFormula() |
static DungTheory |
Theory() |
public static DungParserTokenManager token_source
public static Token token
public static Token jj_nt
public DungParser()
public DungParser(InputStream stream)
public DungParser(InputStream stream, String encoding)
public DungParser(Reader stream)
public DungParser(DungParserTokenManager tm)
public DungTheory parseBeliefBase(Reader reader) throws net.sf.tweety.commons.ParserException
parseBeliefBase in class net.sf.tweety.commons.Parsernet.sf.tweety.commons.ParserExceptionpublic net.sf.tweety.commons.Formula parseFormula(Reader reader) throws net.sf.tweety.commons.ParserException
parseFormula in class net.sf.tweety.commons.Parsernet.sf.tweety.commons.ParserExceptionpublic static final DungTheory Theory() throws ParseException
ParseExceptionpublic static final net.sf.tweety.commons.Formula SingleFormula()
throws ParseException
ParseExceptionpublic static final void Expression(DungTheory dungTheory) throws ParseException
ParseExceptionpublic static final void Argument(DungTheory dungTheory) throws ParseException
ParseExceptionpublic static final Argument SingleArgument() throws ParseException
ParseExceptionpublic static final Attack SingleAttack() throws ParseException
ParseExceptionpublic static final void Attack(DungTheory dungTheory) throws ParseException
ParseExceptionpublic static void ReInit(InputStream stream)
public static void ReInit(InputStream stream, String encoding)
public static void ReInit(Reader stream)
public void ReInit(DungParserTokenManager tm)
public static final Token getNextToken()
public static final Token getToken(int index)
public static ParseException generateParseException()
public static final void enable_tracing()
public static final void disable_tracing()
Copyright © 2018. All rights reserved.