|
|
__init__(self,
input,
state=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from antlr3.recognizers.Parser:
getCurrentInputSymbol,
getMissingSymbol,
getSourceName,
getTokenStream,
reset,
setTokenStream,
traceIn,
traceOut
Inherited from antlr3.recognizers.BaseRecognizer:
alreadyParsedRule,
beginResync,
combineFollows,
computeContextSensitiveRuleFOLLOW,
computeErrorRecoverySet,
consumeUntil,
displayRecognitionError,
emitErrorMessage,
endResync,
failed,
getBacktrackingLevel,
getErrorHeader,
getErrorMessage,
getGrammarFileName,
getNumberOfSyntaxErrors,
getRuleInvocationStack,
getRuleMemoization,
getTokenErrorDisplay,
match,
matchAny,
memoize,
mismatchIsMissingToken,
mismatchIsUnwantedToken,
recover,
recoverFromMismatchedSet,
recoverFromMismatchedToken,
reportError,
setBacktrackingLevel,
setInput,
toStrings
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
grammarFileName = '/work/projects/pyfuzzy/pyfuzzy/fuzzy/storag...
|
|
|
antlr_version = (3, 1, 2, 2147483647)
|
|
|
antlr_version_str = '3.1.2'
|
|
|
tokenNames = ['<invalid>', '<EOR>', '<DOWN>', '<UP>', 'Identif...
|
|
|
FOLLOW_function_block_declaration_in_main55 = frozenset([1])
|
|
|
FOLLOW_14_in_function_block_declaration71 = frozenset([4])
|
|
|
FOLLOW_function_block_name_in_function_block_declaration77 = f...
|
|
|
FOLLOW_type_definition_in_function_block_declaration85 = froze...
|
|
|
FOLLOW_fb_io_var_declarations_in_function_block_declaration92 = ...
|
|
|
FOLLOW_function_block_body_in_function_block_declaration100 = ...
|
|
|
FOLLOW_15_in_function_block_declaration106 = frozenset([])
|
|
|
FOLLOW_EOF_in_function_block_declaration112 = frozenset([1])
|
|
|
FOLLOW_16_in_type_definition126 = frozenset([4])
|
|
|
FOLLOW_Identifier_in_type_definition128 = frozenset([4])
|
|
|
FOLLOW_struct_element_in_type_definition132 = frozenset([4, 17])
|
|
|
FOLLOW_17_in_type_definition136 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_struct_element151 = frozenset([18])
|
|
|
FOLLOW_18_in_struct_element153 = frozenset([19])
|
|
|
FOLLOW_19_in_struct_element155 = frozenset([20])
|
|
|
FOLLOW_20_in_struct_element157 = frozenset([1])
|
|
|
FOLLOW_input_declarations_in_fb_io_var_declarations172 = froze...
|
|
|
FOLLOW_output_declarations_in_fb_io_var_declarations178 = froz...
|
|
|
FOLLOW_21_in_input_declarations189 = frozenset([4])
|
|
|
FOLLOW_var_decl_in_input_declarations191 = frozenset([4, 22])
|
|
|
FOLLOW_22_in_input_declarations195 = frozenset([1])
|
|
|
FOLLOW_23_in_output_declarations203 = frozenset([4])
|
|
|
FOLLOW_var_decl_in_output_declarations205 = frozenset([4, 22])
|
|
|
FOLLOW_22_in_output_declarations209 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_var_decl223 = frozenset([18])
|
|
|
FOLLOW_18_in_var_decl227 = frozenset([4, 19])
|
|
|
FOLLOW_type_in_var_decl231 = frozenset([20])
|
|
|
FOLLOW_20_in_var_decl235 = frozenset([1])
|
|
|
FOLLOW_19_in_type254 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_type264 = frozenset([1])
|
|
|
FOLLOW_fuzzify_block_in_function_block_body286 = frozenset([1,...
|
|
|
FOLLOW_defuzzify_block_in_function_block_body293 = frozenset([...
|
|
|
FOLLOW_rule_block_in_function_block_body300 = frozenset([1, 28...
|
|
|
FOLLOW_option_block_in_function_block_body307 = frozenset([1, ...
|
|
|
FOLLOW_24_in_fuzzify_block325 = frozenset([4])
|
|
|
FOLLOW_variable_name_in_fuzzify_block331 = frozenset([25, 32])
|
|
|
FOLLOW_linguistic_term_in_fuzzify_block337 = frozenset([25, 32])
|
|
|
FOLLOW_25_in_fuzzify_block345 = frozenset([1])
|
|
|
FOLLOW_26_in_defuzzify_block362 = frozenset([4])
|
|
|
FOLLOW_f_variable_name_in_defuzzify_block368 = frozenset([32, ...
|
|
|
FOLLOW_linguistic_term_in_defuzzify_block374 = frozenset([32, ...
|
|
|
FOLLOW_accumulation_method_in_defuzzify_block382 = frozenset([...
|
|
|
FOLLOW_defuzzification_method_in_defuzzify_block388 = frozense...
|
|
|
FOLLOW_default_value_in_defuzzify_block395 = frozenset([27, 40])
|
|
|
FOLLOW_range_in_defuzzify_block403 = frozenset([27])
|
|
|
FOLLOW_27_in_defuzzify_block410 = frozenset([1])
|
|
|
FOLLOW_28_in_rule_block427 = frozenset([4])
|
|
|
FOLLOW_rule_block_name_in_rule_block435 = frozenset([6, 7, 29,...
|
|
|
FOLLOW_operator_definition_in_rule_block443 = frozenset([6, 7,...
|
|
|
FOLLOW_activation_method_in_rule_block452 = frozenset([29, 56])
|
|
|
FOLLOW_rule_in_rule_block461 = frozenset([29, 56])
|
|
|
FOLLOW_29_in_rule_block469 = frozenset([1])
|
|
|
FOLLOW_30_in_option_block477 = frozenset([31])
|
|
|
FOLLOW_31_in_option_block481 = frozenset([1])
|
|
|
FOLLOW_32_in_linguistic_term496 = frozenset([4])
|
|
|
FOLLOW_term_name_in_linguistic_term498 = frozenset([33])
|
|
|
FOLLOW_33_in_linguistic_term500 = frozenset([4, 8, 9, 34])
|
|
|
FOLLOW_membership_function_in_linguistic_term502 = frozenset([...
|
|
|
FOLLOW_20_in_linguistic_term504 = frozenset([1])
|
|
|
FOLLOW_singleton_in_membership_function526 = frozenset([1])
|
|
|
FOLLOW_points_in_membership_function538 = frozenset([1])
|
|
|
FOLLOW_pyfuzzy_set_in_membership_function550 = frozenset([1])
|
|
|
FOLLOW_numeric_literal_in_singleton573 = frozenset([1])
|
|
|
FOLLOW_variable_name_in_singleton585 = frozenset([1])
|
|
|
FOLLOW_34_in_points617 = frozenset([4, 8, 9])
|
|
|
FOLLOW_numeric_literal_in_points627 = frozenset([35])
|
|
|
FOLLOW_variable_name_in_points631 = frozenset([35])
|
|
|
FOLLOW_35_in_points639 = frozenset([8, 9])
|
|
|
FOLLOW_numeric_literal_in_points648 = frozenset([36])
|
|
|
FOLLOW_36_in_points655 = frozenset([1, 34])
|
|
|
FOLLOW_Identifier_in_pyfuzzy_set699 = frozenset([34])
|
|
|
FOLLOW_34_in_pyfuzzy_set704 = frozenset([8, 9, 36])
|
|
|
FOLLOW_numeric_literal_in_pyfuzzy_set716 = frozenset([35, 36])
|
|
|
FOLLOW_35_in_pyfuzzy_set732 = frozenset([8, 9])
|
|
|
FOLLOW_numeric_literal_in_pyfuzzy_set742 = frozenset([35, 36])
|
|
|
FOLLOW_36_in_pyfuzzy_set762 = frozenset([1])
|
|
|
FOLLOW_37_in_defuzzification_method785 = frozenset([18])
|
|
|
FOLLOW_18_in_defuzzification_method787 = frozenset([4])
|
|
|
FOLLOW_Identifier_in_defuzzification_method791 = frozenset([20])
|
|
|
FOLLOW_20_in_defuzzification_method797 = frozenset([1])
|
|
|
FOLLOW_38_in_default_value812 = frozenset([33])
|
|
|
FOLLOW_33_in_default_value814 = frozenset([8, 9, 39])
|
|
|
FOLLOW_numeric_literal_in_default_value824 = frozenset([20])
|
|
|
FOLLOW_39_in_default_value836 = frozenset([20])
|
|
|
FOLLOW_20_in_default_value846 = frozenset([1])
|
|
|
FOLLOW_40_in_range857 = frozenset([33])
|
|
|
FOLLOW_33_in_range859 = frozenset([34])
|
|
|
FOLLOW_34_in_range861 = frozenset([8, 9])
|
|
|
FOLLOW_numeric_literal_in_range863 = frozenset([41])
|
|
|
FOLLOW_41_in_range865 = frozenset([8, 9])
|
|
|
FOLLOW_numeric_literal_in_range867 = frozenset([36])
|
|
|
FOLLOW_36_in_range869 = frozenset([20])
|
|
|
FOLLOW_20_in_range871 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_operator_name_any890 = frozenset([1, 42])
|
|
|
FOLLOW_42_in_operator_name_any893 = frozenset([8, 9])
|
|
|
FOLLOW_numeric_literal_in_operator_name_any897 = frozenset([43])
|
|
|
FOLLOW_43_in_operator_name_any899 = frozenset([1])
|
|
|
FOLLOW_44_in_operator_name_AND922 = frozenset([1])
|
|
|
FOLLOW_45_in_operator_name_AND932 = frozenset([1])
|
|
|
FOLLOW_46_in_operator_name_AND942 = frozenset([1])
|
|
|
FOLLOW_operator_name_any_in_operator_name_AND955 = frozenset([1])
|
|
|
FOLLOW_47_in_operator_name_OR976 = frozenset([1])
|
|
|
FOLLOW_48_in_operator_name_OR986 = frozenset([1])
|
|
|
FOLLOW_49_in_operator_name_OR996 = frozenset([1])
|
|
|
FOLLOW_operator_name_any_in_operator_name_OR1009 = frozenset([1])
|
|
|
FOLLOW_OR__in_operator_definition1053 = frozenset([18])
|
|
|
FOLLOW_18_in_operator_definition1055 = frozenset([4, 47, 48, 49])
|
|
|
FOLLOW_operator_name_OR_in_operator_definition1059 = frozenset...
|
|
|
FOLLOW_AND__in_operator_definition1070 = frozenset([18])
|
|
|
FOLLOW_18_in_operator_definition1072 = frozenset([4, 44, 45, 4...
|
|
|
FOLLOW_operator_name_AND_in_operator_definition1076 = frozense...
|
|
|
FOLLOW_20_in_operator_definition1085 = frozenset([1])
|
|
|
FOLLOW_50_in_activation_method1094 = frozenset([18])
|
|
|
FOLLOW_18_in_activation_method1096 = frozenset([44, 45])
|
|
|
FOLLOW_set_in_activation_method1098 = frozenset([20])
|
|
|
FOLLOW_20_in_activation_method1106 = frozenset([1])
|
|
|
FOLLOW_51_in_accumulation_method1114 = frozenset([18])
|
|
|
FOLLOW_18_in_accumulation_method1116 = frozenset([47, 49, 52])
|
|
|
FOLLOW_set_in_accumulation_method1118 = frozenset([20])
|
|
|
FOLLOW_20_in_accumulation_method1130 = frozenset([1])
|
|
|
FOLLOW_subcondition_in_condition1161 = frozenset([1, 6, 7])
|
|
|
FOLLOW_set_in_condition1189 = frozenset([4, 34, 47, 48, 49, 53])
|
|
|
FOLLOW_subcondition_in_condition1211 = frozenset([1, 6, 7])
|
|
|
FOLLOW_53_in_subcondition1251 = frozenset([34])
|
|
|
FOLLOW_34_in_subcondition1253 = frozenset([4, 34, 47, 48, 49, ...
|
|
|
FOLLOW_condition_in_subcondition1255 = frozenset([36])
|
|
|
FOLLOW_36_in_subcondition1257 = frozenset([1])
|
|
|
FOLLOW_subcondition2_in_subcondition1269 = frozenset([1])
|
|
|
FOLLOW_34_in_subcondition21296 = frozenset([4, 34, 47, 48, 49,...
|
|
|
FOLLOW_condition_in_subcondition21300 = frozenset([36])
|
|
|
FOLLOW_36_in_subcondition21302 = frozenset([1])
|
|
|
FOLLOW_variable_name_in_subcondition21322 = frozenset([54, 55])
|
|
|
FOLLOW_54_in_subcondition21325 = frozenset([4, 53])
|
|
|
FOLLOW_53_in_subcondition21329 = frozenset([4])
|
|
|
FOLLOW_55_in_subcondition21334 = frozenset([4])
|
|
|
FOLLOW_term_name_in_subcondition21338 = frozenset([1])
|
|
|
FOLLOW_operator_name_any_in_subcondition21360 = frozenset([34])
|
|
|
FOLLOW_34_in_subcondition21362 = frozenset([4, 34, 47, 48, 49,...
|
|
|
FOLLOW_condition_in_subcondition21366 = frozenset([35])
|
|
|
FOLLOW_35_in_subcondition21368 = frozenset([4, 34, 47, 48, 49,...
|
|
|
FOLLOW_condition_in_subcondition21372 = frozenset([36])
|
|
|
FOLLOW_36_in_subcondition21374 = frozenset([1])
|
|
|
FOLLOW_conclusion2_in_conclusion1422 = frozenset([1, 35])
|
|
|
FOLLOW_35_in_conclusion1436 = frozenset([4, 34])
|
|
|
FOLLOW_conclusion2_in_conclusion1440 = frozenset([1, 35])
|
|
|
FOLLOW_34_in_conclusion21474 = frozenset([4, 34])
|
|
|
FOLLOW_conclusion3_in_conclusion21478 = frozenset([36])
|
|
|
FOLLOW_36_in_conclusion21481 = frozenset([1])
|
|
|
FOLLOW_conclusion3_in_conclusion21501 = frozenset([1])
|
|
|
FOLLOW_variable_name_in_conclusion31538 = frozenset([54])
|
|
|
FOLLOW_54_in_conclusion31540 = frozenset([4])
|
|
|
FOLLOW_term_name_in_conclusion31544 = frozenset([1])
|
|
|
FOLLOW_56_in_rule1568 = frozenset([8])
|
|
|
FOLLOW_Integer_literal_in_rule1570 = frozenset([18])
|
|
|
FOLLOW_18_in_rule1572 = frozenset([57])
|
|
|
FOLLOW_57_in_rule1574 = frozenset([4, 34, 47, 48, 49, 53])
|
|
|
FOLLOW_condition_in_rule1576 = frozenset([58])
|
|
|
FOLLOW_58_in_rule1578 = frozenset([4, 34])
|
|
|
FOLLOW_conclusion_in_rule1580 = frozenset([20, 59])
|
|
|
FOLLOW_59_in_rule1583 = frozenset([8, 9])
|
|
|
FOLLOW_weighting_factor_in_rule1585 = frozenset([20])
|
|
|
FOLLOW_20_in_rule1591 = frozenset([1])
|
|
|
FOLLOW_numeric_literal_in_weighting_factor1606 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_function_block_name1617 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_rule_block_name1625 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_term_name1633 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_f_variable_name1641 = frozenset([1])
|
|
|
FOLLOW_Identifier_in_variable_name1649 = frozenset([1])
|
|
|
FOLLOW_set_in_numeric_literal0 = frozenset([1])
|
|
Inherited from antlr3.recognizers.BaseRecognizer:
DEFAULT_TOKEN_CHANNEL,
HIDDEN,
MEMO_RULE_FAILED,
MEMO_RULE_UNKNOWN
|