net.sourceforge.jFuzzyLogic.fcl
Class FCLParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by net.sourceforge.jFuzzyLogic.fcl.FCLParser
All Implemented Interfaces:
FCLTokenTypes

public class FCLParser
extends antlr.LLkParser
implements FCLTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_16
           
static antlr.collections.impl.BitSet _tokenSet_17
           
static antlr.collections.impl.BitSet _tokenSet_18
           
static antlr.collections.impl.BitSet _tokenSet_19
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_20
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface net.sourceforge.jFuzzyLogic.fcl.FCLTokenTypes
ACCU, ACT, AND, ASSIGN_OPERATOR, ASUM, BDIF, BSUM, COA, COG, COGS, COLON, COMMA, COMMENT, COMMENT_C, COMMENT_SL, DEFAULT, DEFUZZIFY, DOT, DOTS, END_DEFUZZIFY, END_FUNCTION_BLOCK, END_FUZZIFY, END_RULEBLOCK, END_VAR, EOF, FUNCTION_BLOCK, FUZZIFY, GAUSS, GBELL, ID, IF, IS, LEFT_CURLY, LEFT_PARENTHESIS, LM, MAX, METHOD, MIN, MM, NC, NEWLINE, NOT, NSUM, NULL_TREE_LOOKAHEAD, OR, PROBOR, PROD, RANGE, REAL, RIGHT_CURLY, RIGHT_PARENTHESIS, RM, RULE, RULEBLOCK, SEMICOLON, SIGM, SINGLETONS, STAR, SUM, TERM, THEN, TRAPE, TRIAN, TYPE_REAL, VAR_INPUT, VAR_OUTPUT, WITH, WS
 
Constructor Summary
  FCLParser(antlr.ParserSharedInputState state)
           
  FCLParser(antlr.TokenBuffer tokenBuf)
           
protected FCLParser(antlr.TokenBuffer tokenBuf, int k)
           
  FCLParser(antlr.TokenStream lexer)
           
protected FCLParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void accumulation_method()
           
 void activation_method()
           
 void atom()
           
protected  void buildTokenTypeASTClassMap()
           
 void conclusion()
           
 void condition()
           
 void data_type()
           
 void declaration()
           
 void default_value()
           
 void defuzzification_method()
           
 void defuzzify_block()
           
 void defuzzify_item()
           
 void fcl()
           
 void function_block()
           
 void fuzzify_block()
           
 void gauss()
           
 void gbell()
           
 void if_clause()
           
 void linguistic_term()
           
 void membership_function()
           
private static long[] mk_tokenSet_0()
           
private static long[] mk_tokenSet_1()
           
private static long[] mk_tokenSet_10()
           
private static long[] mk_tokenSet_11()
           
private static long[] mk_tokenSet_12()
           
private static long[] mk_tokenSet_13()
           
private static long[] mk_tokenSet_14()
           
private static long[] mk_tokenSet_15()
           
private static long[] mk_tokenSet_16()
           
private static long[] mk_tokenSet_17()
           
private static long[] mk_tokenSet_18()
           
private static long[] mk_tokenSet_19()
           
private static long[] mk_tokenSet_2()
           
private static long[] mk_tokenSet_20()
           
private static long[] mk_tokenSet_3()
           
private static long[] mk_tokenSet_4()
           
private static long[] mk_tokenSet_5()
           
private static long[] mk_tokenSet_6()
           
private static long[] mk_tokenSet_7()
           
private static long[] mk_tokenSet_8()
           
private static long[] mk_tokenSet_9()
           
 void operator_definition_and()
           
 void operator_definition_or()
           
 void operator_definition()
           
 void piece_wise_linear()
           
 void points()
           
 void range()
           
 void rule_block()
           
 void rule_item()
           
 void rule_name()
           
 void rule()
           
 void sigm()
           
 void singleton()
           
 void singletons()
           
 void sub_conclusion()
           
 void subcondition_bare()
           
 void subcondition_paren()
           
 void subcondition()
           
 void then_clause()
           
 void trape()
           
 void trian()
           
 void var_def()
           
 void var_input()
           
 void var_output()
           
 void with()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10

_tokenSet_11

public static final antlr.collections.impl.BitSet _tokenSet_11

_tokenSet_12

public static final antlr.collections.impl.BitSet _tokenSet_12

_tokenSet_13

public static final antlr.collections.impl.BitSet _tokenSet_13

_tokenSet_14

public static final antlr.collections.impl.BitSet _tokenSet_14

_tokenSet_15

public static final antlr.collections.impl.BitSet _tokenSet_15

_tokenSet_16

public static final antlr.collections.impl.BitSet _tokenSet_16

_tokenSet_17

public static final antlr.collections.impl.BitSet _tokenSet_17

_tokenSet_18

public static final antlr.collections.impl.BitSet _tokenSet_18

_tokenSet_19

public static final antlr.collections.impl.BitSet _tokenSet_19

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_20

public static final antlr.collections.impl.BitSet _tokenSet_20

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9
Constructor Detail

FCLParser

public FCLParser(antlr.ParserSharedInputState state)

FCLParser

public FCLParser(antlr.TokenBuffer tokenBuf)

FCLParser

protected FCLParser(antlr.TokenBuffer tokenBuf,
                    int k)

FCLParser

public FCLParser(antlr.TokenStream lexer)

FCLParser

protected FCLParser(antlr.TokenStream lexer,
                    int k)
Method Detail

mk_tokenSet_0

private static final long[] mk_tokenSet_0()

mk_tokenSet_1

private static final long[] mk_tokenSet_1()

mk_tokenSet_10

private static final long[] mk_tokenSet_10()

mk_tokenSet_11

private static final long[] mk_tokenSet_11()

mk_tokenSet_12

private static final long[] mk_tokenSet_12()

mk_tokenSet_13

private static final long[] mk_tokenSet_13()

mk_tokenSet_14

private static final long[] mk_tokenSet_14()

mk_tokenSet_15

private static final long[] mk_tokenSet_15()

mk_tokenSet_16

private static final long[] mk_tokenSet_16()

mk_tokenSet_17

private static final long[] mk_tokenSet_17()

mk_tokenSet_18

private static final long[] mk_tokenSet_18()

mk_tokenSet_19

private static final long[] mk_tokenSet_19()

mk_tokenSet_2

private static final long[] mk_tokenSet_2()

mk_tokenSet_20

private static final long[] mk_tokenSet_20()

mk_tokenSet_3

private static final long[] mk_tokenSet_3()

mk_tokenSet_4

private static final long[] mk_tokenSet_4()

mk_tokenSet_5

private static final long[] mk_tokenSet_5()

mk_tokenSet_6

private static final long[] mk_tokenSet_6()

mk_tokenSet_7

private static final long[] mk_tokenSet_7()

mk_tokenSet_8

private static final long[] mk_tokenSet_8()

mk_tokenSet_9

private static final long[] mk_tokenSet_9()

accumulation_method

public final void accumulation_method()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

activation_method

public final void activation_method()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

atom

public final void atom()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()

conclusion

public final void conclusion()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

condition

public final void condition()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

data_type

public final void data_type()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declaration

public final void declaration()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

default_value

public final void default_value()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

defuzzification_method

public final void defuzzification_method()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

defuzzify_block

public final void defuzzify_block()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

defuzzify_item

public final void defuzzify_item()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

fcl

public final void fcl()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

function_block

public final void function_block()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

fuzzify_block

public final void fuzzify_block()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

gauss

public final void gauss()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

gbell

public final void gbell()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

if_clause

public final void if_clause()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

linguistic_term

public final void linguistic_term()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

membership_function

public final void membership_function()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

operator_definition

public final void operator_definition()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

operator_definition_and

public final void operator_definition_and()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

operator_definition_or

public final void operator_definition_or()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

piece_wise_linear

public final void piece_wise_linear()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

points

public final void points()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

range

public final void range()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

rule

public final void rule()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

rule_block

public final void rule_block()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

rule_item

public final void rule_item()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

rule_name

public final void rule_name()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

sigm

public final void sigm()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

singleton

public final void singleton()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

singletons

public final void singletons()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

sub_conclusion

public final void sub_conclusion()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subcondition

public final void subcondition()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subcondition_bare

public final void subcondition_bare()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subcondition_paren

public final void subcondition_paren()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

then_clause

public final void then_clause()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

trape

public final void trape()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

trian

public final void trian()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

var_def

public final void var_def()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

var_input

public final void var_input()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

var_output

public final void var_output()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

with

public final void with()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException