BNF for FuzzyCoCoParser.jj

NON-TERMINALS



component
component ::= ( ( ( <EVENT> | <ACTIVE> ) )? <COMPONENT> identifier ( ( interfaceList <L_BRACE> ) | <L_BRACE> | ( try_skipto_ex <L_BRACE> ) ) ( property | port | instance )* <R_BRACE> <EOF> )



interfaceList
interfaceList ::= <IS> identifier ( <COMMA> identifier )*



port
port ::= ( ( <IN> | <OUT> | <INOUT> ) <PORT> type identifier skip_balanced ( <SEMICOLON> )? )



type
type ::= ( <INT> | <BOOL> | <CHAR> | <FLOAT> | <DOUBLE> | <SHORT> | <LONG> | <BYTE> | <VOID> | identifier )



instance
instance ::= ( identifier identifier )



property
property ::= ( <PROPERTY> ( <OPTIONAL> | <MANDATORY> )? identifier ( <ASSGMNT> skipto_ex <SEMICOLON> | <SEMICOLON> | ( try_skipto_ex <SEMICOLON> ) ) )



identifier
identifier ::= ( <ID> dummy )



skip_over
skip_over ::= java code



try_skipto_ex
try_skipto_ex ::= java code



skipto_ex
skipto_ex ::= java code



skip_balanced
skip_balanced ::= java code



error_skipto
error_skipto ::= java code



error_skipto_ex
error_skipto_ex ::= java code



dummy
dummy ::= java code