More operations
This commit is contained in:
@@ -9,13 +9,26 @@ INT : [0-9]+ ;
|
|||||||
FLOAT : [0-9]+ '.' [0-9]* | '.' [0-9]+ ;
|
FLOAT : [0-9]+ '.' [0-9]* | '.' [0-9]+ ;
|
||||||
|
|
||||||
// Puturos rules
|
// Puturos rules
|
||||||
program : (requirementSpec | functionSpec)+ ;
|
|
||||||
|
|
||||||
requirementSpec : EXCLAM? ID
|
program : description?
|
||||||
(':' description)?
|
'package' ID
|
||||||
predicate ';' ;
|
'{'
|
||||||
|
program_body
|
||||||
|
'}'
|
||||||
|
;
|
||||||
|
|
||||||
description : DESCRIPTION;
|
program_body : (requirementSpec | functionSpec)+ ;
|
||||||
|
|
||||||
|
requirementSpec : description?
|
||||||
|
importance?
|
||||||
|
ID '{'
|
||||||
|
req_specification*
|
||||||
|
result_specification*
|
||||||
|
'}' ;
|
||||||
|
|
||||||
|
req_specification : importance? '@' ID (logical_op ID)* ';';
|
||||||
|
|
||||||
|
result_specification : 'result' importance? ID ';';
|
||||||
|
|
||||||
predicate : expression '=>' expression ;
|
predicate : expression '=>' expression ;
|
||||||
|
|
||||||
@@ -26,28 +39,38 @@ term : '{' expression '}'
|
|||||||
|
|
||||||
logical_op : '&&' | '||' ;
|
logical_op : '&&' | '||' ;
|
||||||
|
|
||||||
functionSpec : EXCLAM?
|
|
||||||
ID'()' ':'
|
|
||||||
description?
|
// Function Specification
|
||||||
access_modifier?
|
|
||||||
|
functionSpec : description?
|
||||||
|
importance?
|
||||||
|
access_modifiers?
|
||||||
|
ID'(' input_types? ')'
|
||||||
|
functionBody
|
||||||
|
;
|
||||||
|
|
||||||
|
functionBody : '{'
|
||||||
|
specification*
|
||||||
return_types
|
return_types
|
||||||
'{' parameter_list '}' ';'
|
'}'
|
||||||
;
|
;
|
||||||
|
|
||||||
access_modifier : 'Access ' access_modifiers ';';
|
input_types : variable (',' variable)*;
|
||||||
|
|
||||||
return_types : 'Return' '(' return (',' return)* ')' ';' ;
|
return_types : 'return' variable (',' variable)* ';' ;
|
||||||
|
|
||||||
return : type ID;
|
specification : '@' ID ':'
|
||||||
|
STRING
|
||||||
parameter_list : parameter (',' parameter)* ;
|
';'
|
||||||
|
|
||||||
parameter : STRING ':'
|
|
||||||
(STRING
|
|
||||||
| INT
|
|
||||||
| FLOAT)
|
|
||||||
;
|
;
|
||||||
|
|
||||||
|
// General Rules
|
||||||
|
|
||||||
|
variable : type '[]'? ID;
|
||||||
|
|
||||||
|
importance : 'critical' | 'optional' ;
|
||||||
|
|
||||||
type : 'INT'
|
type : 'INT'
|
||||||
| 'FLOAT'
|
| 'FLOAT'
|
||||||
| 'DOUBLE'
|
| 'DOUBLE'
|
||||||
@@ -57,12 +80,14 @@ type : 'INT'
|
|||||||
| 'VOID'
|
| 'VOID'
|
||||||
;
|
;
|
||||||
|
|
||||||
access_modifiers : 'PUBLIC'
|
access_modifiers : 'public'
|
||||||
| 'PROTECTED'
|
| 'protected'
|
||||||
| 'PRIVATE'
|
| 'private'
|
||||||
| 'DEFAULT'
|
| 'default'
|
||||||
;
|
;
|
||||||
|
|
||||||
|
description : DESCRIPTION;
|
||||||
|
|
||||||
// Symballs
|
// Symballs
|
||||||
LPAREN : '(' ;
|
LPAREN : '(' ;
|
||||||
RPAREN : ')' ;
|
RPAREN : ')' ;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -15,44 +15,52 @@ T__13=14
|
|||||||
T__14=15
|
T__14=15
|
||||||
T__15=16
|
T__15=16
|
||||||
T__16=17
|
T__16=17
|
||||||
ID=18
|
T__17=18
|
||||||
STRING=19
|
T__18=19
|
||||||
DESCRIPTION=20
|
T__19=20
|
||||||
WS=21
|
T__20=21
|
||||||
INT=22
|
ID=22
|
||||||
FLOAT=23
|
STRING=23
|
||||||
LPAREN=24
|
DESCRIPTION=24
|
||||||
RPAREN=25
|
WS=25
|
||||||
COLON=26
|
INT=26
|
||||||
SEMICOLON=27
|
FLOAT=27
|
||||||
COMMA=28
|
LPAREN=28
|
||||||
LBRACE=29
|
RPAREN=29
|
||||||
RBRACE=30
|
COLON=30
|
||||||
TILDE=31
|
SEMICOLON=31
|
||||||
EXCLAM=32
|
COMMA=32
|
||||||
'=>'=1
|
LBRACE=33
|
||||||
'&&'=2
|
RBRACE=34
|
||||||
'||'=3
|
TILDE=35
|
||||||
'()'=4
|
EXCLAM=36
|
||||||
'Access '=5
|
'package'=1
|
||||||
'Return'=6
|
'@'=2
|
||||||
'INT'=7
|
'result'=3
|
||||||
'FLOAT'=8
|
'=>'=4
|
||||||
'DOUBLE'=9
|
'&&'=5
|
||||||
'STRING'=10
|
'||'=6
|
||||||
'BOOLEAN'=11
|
'return'=7
|
||||||
'CHAR'=12
|
'[]'=8
|
||||||
'VOID'=13
|
'critical'=9
|
||||||
'PUBLIC'=14
|
'optional'=10
|
||||||
'PROTECTED'=15
|
'INT'=11
|
||||||
'PRIVATE'=16
|
'FLOAT'=12
|
||||||
'DEFAULT'=17
|
'DOUBLE'=13
|
||||||
'('=24
|
'STRING'=14
|
||||||
')'=25
|
'BOOLEAN'=15
|
||||||
':'=26
|
'CHAR'=16
|
||||||
';'=27
|
'VOID'=17
|
||||||
','=28
|
'public'=18
|
||||||
'{'=29
|
'protected'=19
|
||||||
'}'=30
|
'private'=20
|
||||||
'~'=31
|
'default'=21
|
||||||
'!'=32
|
'('=28
|
||||||
|
')'=29
|
||||||
|
':'=30
|
||||||
|
';'=31
|
||||||
|
','=32
|
||||||
|
'{'=33
|
||||||
|
'}'=34
|
||||||
|
'~'=35
|
||||||
|
'!'=36
|
||||||
|
|||||||
@@ -24,6 +24,18 @@ public class SoftwareRequirementsBaseListener implements SoftwareRequirementsLis
|
|||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitProgram(SoftwareRequirementsParser.ProgramContext ctx) { }
|
@Override public void exitProgram(SoftwareRequirementsParser.ProgramContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void enterProgram_body(SoftwareRequirementsParser.Program_bodyContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void exitProgram_body(SoftwareRequirementsParser.Program_bodyContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -41,13 +53,25 @@ public class SoftwareRequirementsBaseListener implements SoftwareRequirementsLis
|
|||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void enterDescription(SoftwareRequirementsParser.DescriptionContext ctx) { }
|
@Override public void enterReq_specification(SoftwareRequirementsParser.Req_specificationContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitDescription(SoftwareRequirementsParser.DescriptionContext ctx) { }
|
@Override public void exitReq_specification(SoftwareRequirementsParser.Req_specificationContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void enterResult_specification(SoftwareRequirementsParser.Result_specificationContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void exitResult_specification(SoftwareRequirementsParser.Result_specificationContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -113,13 +137,25 @@ public class SoftwareRequirementsBaseListener implements SoftwareRequirementsLis
|
|||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void enterAccess_modifier(SoftwareRequirementsParser.Access_modifierContext ctx) { }
|
@Override public void enterFunctionBody(SoftwareRequirementsParser.FunctionBodyContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitAccess_modifier(SoftwareRequirementsParser.Access_modifierContext ctx) { }
|
@Override public void exitFunctionBody(SoftwareRequirementsParser.FunctionBodyContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void enterInput_types(SoftwareRequirementsParser.Input_typesContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void exitInput_types(SoftwareRequirementsParser.Input_typesContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -137,37 +173,37 @@ public class SoftwareRequirementsBaseListener implements SoftwareRequirementsLis
|
|||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void enterReturn(SoftwareRequirementsParser.ReturnContext ctx) { }
|
@Override public void enterSpecification(SoftwareRequirementsParser.SpecificationContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitReturn(SoftwareRequirementsParser.ReturnContext ctx) { }
|
@Override public void exitSpecification(SoftwareRequirementsParser.SpecificationContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void enterParameter_list(SoftwareRequirementsParser.Parameter_listContext ctx) { }
|
@Override public void enterVariable(SoftwareRequirementsParser.VariableContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitParameter_list(SoftwareRequirementsParser.Parameter_listContext ctx) { }
|
@Override public void exitVariable(SoftwareRequirementsParser.VariableContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void enterParameter(SoftwareRequirementsParser.ParameterContext ctx) { }
|
@Override public void enterImportance(SoftwareRequirementsParser.ImportanceContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitParameter(SoftwareRequirementsParser.ParameterContext ctx) { }
|
@Override public void exitImportance(SoftwareRequirementsParser.ImportanceContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -192,6 +228,18 @@ public class SoftwareRequirementsBaseListener implements SoftwareRequirementsLis
|
|||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx) { }
|
@Override public void exitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void enterDescription(SoftwareRequirementsParser.DescriptionContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void exitDescription(SoftwareRequirementsParser.DescriptionContext ctx) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
|||||||
@@ -19,6 +19,13 @@ public class SoftwareRequirementsBaseVisitor<T> extends AbstractParseTreeVisitor
|
|||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitProgram(SoftwareRequirementsParser.ProgramContext ctx) { return visitChildren(ctx); }
|
@Override public T visitProgram(SoftwareRequirementsParser.ProgramContext ctx) { return visitChildren(ctx); }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation returns the result of calling
|
||||||
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
|
*/
|
||||||
|
@Override public T visitProgram_body(SoftwareRequirementsParser.Program_bodyContext ctx) { return visitChildren(ctx); }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -32,7 +39,14 @@ public class SoftwareRequirementsBaseVisitor<T> extends AbstractParseTreeVisitor
|
|||||||
* <p>The default implementation returns the result of calling
|
* <p>The default implementation returns the result of calling
|
||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitDescription(SoftwareRequirementsParser.DescriptionContext ctx) { return visitChildren(ctx); }
|
@Override public T visitReq_specification(SoftwareRequirementsParser.Req_specificationContext ctx) { return visitChildren(ctx); }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation returns the result of calling
|
||||||
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
|
*/
|
||||||
|
@Override public T visitResult_specification(SoftwareRequirementsParser.Result_specificationContext ctx) { return visitChildren(ctx); }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -74,7 +88,14 @@ public class SoftwareRequirementsBaseVisitor<T> extends AbstractParseTreeVisitor
|
|||||||
* <p>The default implementation returns the result of calling
|
* <p>The default implementation returns the result of calling
|
||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitAccess_modifier(SoftwareRequirementsParser.Access_modifierContext ctx) { return visitChildren(ctx); }
|
@Override public T visitFunctionBody(SoftwareRequirementsParser.FunctionBodyContext ctx) { return visitChildren(ctx); }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation returns the result of calling
|
||||||
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
|
*/
|
||||||
|
@Override public T visitInput_types(SoftwareRequirementsParser.Input_typesContext ctx) { return visitChildren(ctx); }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -88,21 +109,21 @@ public class SoftwareRequirementsBaseVisitor<T> extends AbstractParseTreeVisitor
|
|||||||
* <p>The default implementation returns the result of calling
|
* <p>The default implementation returns the result of calling
|
||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitReturn(SoftwareRequirementsParser.ReturnContext ctx) { return visitChildren(ctx); }
|
@Override public T visitSpecification(SoftwareRequirementsParser.SpecificationContext ctx) { return visitChildren(ctx); }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation returns the result of calling
|
* <p>The default implementation returns the result of calling
|
||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitParameter_list(SoftwareRequirementsParser.Parameter_listContext ctx) { return visitChildren(ctx); }
|
@Override public T visitVariable(SoftwareRequirementsParser.VariableContext ctx) { return visitChildren(ctx); }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation returns the result of calling
|
* <p>The default implementation returns the result of calling
|
||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitParameter(SoftwareRequirementsParser.ParameterContext ctx) { return visitChildren(ctx); }
|
@Override public T visitImportance(SoftwareRequirementsParser.ImportanceContext ctx) { return visitChildren(ctx); }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
@@ -117,4 +138,11 @@ public class SoftwareRequirementsBaseVisitor<T> extends AbstractParseTreeVisitor
|
|||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx) { return visitChildren(ctx); }
|
@Override public T visitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx) { return visitChildren(ctx); }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation returns the result of calling
|
||||||
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
|
*/
|
||||||
|
@Override public T visitDescription(SoftwareRequirementsParser.DescriptionContext ctx) { return visitChildren(ctx); }
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
@@ -19,9 +19,9 @@ public class SoftwareRequirementsLexer extends Lexer {
|
|||||||
public static final int
|
public static final int
|
||||||
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
|
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
|
||||||
T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
|
T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
|
||||||
ID=18, STRING=19, DESCRIPTION=20, WS=21, INT=22, FLOAT=23, LPAREN=24,
|
T__17=18, T__18=19, T__19=20, T__20=21, ID=22, STRING=23, DESCRIPTION=24,
|
||||||
RPAREN=25, COLON=26, SEMICOLON=27, COMMA=28, LBRACE=29, RBRACE=30, TILDE=31,
|
WS=25, INT=26, FLOAT=27, LPAREN=28, RPAREN=29, COLON=30, SEMICOLON=31,
|
||||||
EXCLAM=32;
|
COMMA=32, LBRACE=33, RBRACE=34, TILDE=35, EXCLAM=36;
|
||||||
public static String[] channelNames = {
|
public static String[] channelNames = {
|
||||||
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
|
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
|
||||||
};
|
};
|
||||||
@@ -34,27 +34,29 @@ public class SoftwareRequirementsLexer extends Lexer {
|
|||||||
return new String[] {
|
return new String[] {
|
||||||
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
|
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
|
||||||
"T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16",
|
"T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16",
|
||||||
"ID", "STRING", "DESCRIPTION", "WS", "INT", "FLOAT", "LPAREN", "RPAREN",
|
"T__17", "T__18", "T__19", "T__20", "ID", "STRING", "DESCRIPTION", "WS",
|
||||||
"COLON", "SEMICOLON", "COMMA", "LBRACE", "RBRACE", "TILDE", "EXCLAM"
|
"INT", "FLOAT", "LPAREN", "RPAREN", "COLON", "SEMICOLON", "COMMA", "LBRACE",
|
||||||
|
"RBRACE", "TILDE", "EXCLAM"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
public static final String[] ruleNames = makeRuleNames();
|
public static final String[] ruleNames = makeRuleNames();
|
||||||
|
|
||||||
private static String[] makeLiteralNames() {
|
private static String[] makeLiteralNames() {
|
||||||
return new String[] {
|
return new String[] {
|
||||||
null, "'=>'", "'&&'", "'||'", "'()'", "'Access '", "'Return'", "'INT'",
|
null, "'package'", "'@'", "'result'", "'=>'", "'&&'", "'||'", "'return'",
|
||||||
"'FLOAT'", "'DOUBLE'", "'STRING'", "'BOOLEAN'", "'CHAR'", "'VOID'", "'PUBLIC'",
|
"'[]'", "'critical'", "'optional'", "'INT'", "'FLOAT'", "'DOUBLE'", "'STRING'",
|
||||||
"'PROTECTED'", "'PRIVATE'", "'DEFAULT'", null, null, null, null, null,
|
"'BOOLEAN'", "'CHAR'", "'VOID'", "'public'", "'protected'", "'private'",
|
||||||
null, "'('", "')'", "':'", "';'", "','", "'{'", "'}'", "'~'", "'!'"
|
"'default'", null, null, null, null, null, null, "'('", "')'", "':'",
|
||||||
|
"';'", "','", "'{'", "'}'", "'~'", "'!'"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
private static final String[] _LITERAL_NAMES = makeLiteralNames();
|
private static final String[] _LITERAL_NAMES = makeLiteralNames();
|
||||||
private static String[] makeSymbolicNames() {
|
private static String[] makeSymbolicNames() {
|
||||||
return new String[] {
|
return new String[] {
|
||||||
null, null, null, null, null, null, null, null, null, null, null, null,
|
null, null, null, null, null, null, null, null, null, null, null, null,
|
||||||
null, null, null, null, null, null, "ID", "STRING", "DESCRIPTION", "WS",
|
null, null, null, null, null, null, null, null, null, null, "ID", "STRING",
|
||||||
"INT", "FLOAT", "LPAREN", "RPAREN", "COLON", "SEMICOLON", "COMMA", "LBRACE",
|
"DESCRIPTION", "WS", "INT", "FLOAT", "LPAREN", "RPAREN", "COLON", "SEMICOLON",
|
||||||
"RBRACE", "TILDE", "EXCLAM"
|
"COMMA", "LBRACE", "RBRACE", "TILDE", "EXCLAM"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
|
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
|
||||||
@@ -116,7 +118,7 @@ public class SoftwareRequirementsLexer extends Lexer {
|
|||||||
public ATN getATN() { return _ATN; }
|
public ATN getATN() { return _ATN; }
|
||||||
|
|
||||||
public static final String _serializedATN =
|
public static final String _serializedATN =
|
||||||
"\u0004\u0000 \u00f0\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+
|
"\u0004\u0000$\u0113\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+
|
||||||
"\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+
|
"\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+
|
||||||
"\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+
|
"\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+
|
||||||
"\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b"+
|
"\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b"+
|
||||||
@@ -126,146 +128,167 @@ public class SoftwareRequirementsLexer extends Lexer {
|
|||||||
"\u0015\u0007\u0015\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017\u0002"+
|
"\u0015\u0007\u0015\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017\u0002"+
|
||||||
"\u0018\u0007\u0018\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a\u0002"+
|
"\u0018\u0007\u0018\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a\u0002"+
|
||||||
"\u001b\u0007\u001b\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d\u0002"+
|
"\u001b\u0007\u001b\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d\u0002"+
|
||||||
"\u001e\u0007\u001e\u0002\u001f\u0007\u001f\u0001\u0000\u0001\u0000\u0001"+
|
"\u001e\u0007\u001e\u0002\u001f\u0007\u001f\u0002 \u0007 \u0002!\u0007"+
|
||||||
"\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001"+
|
"!\u0002\"\u0007\"\u0002#\u0007#\u0001\u0000\u0001\u0000\u0001\u0000\u0001"+
|
||||||
"\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0004\u0001\u0004\u0001"+
|
"\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001"+
|
||||||
"\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001"+
|
"\u0001\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001"+
|
||||||
"\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+
|
"\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0004\u0001"+
|
||||||
"\u0005\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0007\u0001"+
|
"\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006\u0001"+
|
||||||
"\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b"+
|
"\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001"+
|
||||||
"\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001\t\u0001"+
|
"\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b"+
|
||||||
"\t\u0001\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+
|
"\u0001\b\u0001\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+
|
||||||
"\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+
|
"\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+
|
||||||
"\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r"+
|
"\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+
|
||||||
"\u0001\r\u0001\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+
|
"\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001"+
|
||||||
"\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+
|
"\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e"+
|
||||||
"\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+
|
"\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f"+
|
||||||
"\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+
|
"\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010"+
|
||||||
"\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0004"+
|
"\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0011"+
|
||||||
"\u0011\u00a9\b\u0011\u000b\u0011\f\u0011\u00aa\u0001\u0012\u0001\u0012"+
|
"\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012"+
|
||||||
"\u0005\u0012\u00af\b\u0012\n\u0012\f\u0012\u00b2\t\u0012\u0001\u0012\u0001"+
|
"\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012"+
|
||||||
"\u0012\u0001\u0013\u0001\u0013\u0005\u0013\u00b8\b\u0013\n\u0013\f\u0013"+
|
"\u0001\u0012\u0001\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+
|
||||||
"\u00bb\t\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0004\u0014\u00c0\b"+
|
"\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001\u0014"+
|
||||||
"\u0014\u000b\u0014\f\u0014\u00c1\u0001\u0014\u0001\u0014\u0001\u0015\u0004"+
|
"\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014"+
|
||||||
"\u0015\u00c7\b\u0015\u000b\u0015\f\u0015\u00c8\u0001\u0016\u0004\u0016"+
|
"\u0001\u0015\u0004\u0015\u00cc\b\u0015\u000b\u0015\f\u0015\u00cd\u0001"+
|
||||||
"\u00cc\b\u0016\u000b\u0016\f\u0016\u00cd\u0001\u0016\u0001\u0016\u0005"+
|
"\u0016\u0001\u0016\u0005\u0016\u00d2\b\u0016\n\u0016\f\u0016\u00d5\t\u0016"+
|
||||||
"\u0016\u00d2\b\u0016\n\u0016\f\u0016\u00d5\t\u0016\u0001\u0016\u0001\u0016"+
|
"\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0005\u0017\u00db\b\u0017"+
|
||||||
"\u0004\u0016\u00d9\b\u0016\u000b\u0016\f\u0016\u00da\u0003\u0016\u00dd"+
|
"\n\u0017\f\u0017\u00de\t\u0017\u0001\u0017\u0001\u0017\u0001\u0018\u0004"+
|
||||||
"\b\u0016\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018\u0001\u0019\u0001"+
|
"\u0018\u00e3\b\u0018\u000b\u0018\f\u0018\u00e4\u0001\u0018\u0001\u0018"+
|
||||||
"\u0019\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001c\u0001"+
|
"\u0001\u0019\u0004\u0019\u00ea\b\u0019\u000b\u0019\f\u0019\u00eb\u0001"+
|
||||||
"\u001c\u0001\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001f\u0001"+
|
"\u001a\u0004\u001a\u00ef\b\u001a\u000b\u001a\f\u001a\u00f0\u0001\u001a"+
|
||||||
"\u001f\u0001\u00b9\u0000 \u0001\u0001\u0003\u0002\u0005\u0003\u0007\u0004"+
|
"\u0001\u001a\u0005\u001a\u00f5\b\u001a\n\u001a\f\u001a\u00f8\t\u001a\u0001"+
|
||||||
"\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015\u000b\u0017"+
|
"\u001a\u0001\u001a\u0004\u001a\u00fc\b\u001a\u000b\u001a\f\u001a\u00fd"+
|
||||||
"\f\u0019\r\u001b\u000e\u001d\u000f\u001f\u0010!\u0011#\u0012%\u0013\'"+
|
"\u0003\u001a\u0100\b\u001a\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c"+
|
||||||
"\u0014)\u0015+\u0016-\u0017/\u00181\u00193\u001a5\u001b7\u001c9\u001d"+
|
"\u0001\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001f\u0001\u001f"+
|
||||||
";\u001e=\u001f? \u0001\u0000\u0005\u0002\u0000AZaz\u0001\u0000\"\"\u0001"+
|
"\u0001 \u0001 \u0001!\u0001!\u0001\"\u0001\"\u0001#\u0001#\u0001\u00dc"+
|
||||||
"\u0000~~\u0003\u0000\t\n\r\r \u0001\u000009\u00f8\u0000\u0001\u0001\u0000"+
|
"\u0000$\u0001\u0001\u0003\u0002\u0005\u0003\u0007\u0004\t\u0005\u000b"+
|
||||||
"\u0000\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000"+
|
"\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015\u000b\u0017\f\u0019\r\u001b"+
|
||||||
"\u0000\u0000\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000"+
|
"\u000e\u001d\u000f\u001f\u0010!\u0011#\u0012%\u0013\'\u0014)\u0015+\u0016"+
|
||||||
"\u0000\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000"+
|
"-\u0017/\u00181\u00193\u001a5\u001b7\u001c9\u001d;\u001e=\u001f? A!C\""+
|
||||||
"\u0000\u000f\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000"+
|
"E#G$\u0001\u0000\u0005\u0002\u0000AZaz\u0001\u0000\"\"\u0001\u0000~~\u0003"+
|
||||||
"\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000"+
|
"\u0000\t\n\r\r \u0001\u000009\u011b\u0000\u0001\u0001\u0000\u0000\u0000"+
|
||||||
"\u0000\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000"+
|
"\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000\u0000\u0000"+
|
||||||
"\u0000\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000"+
|
"\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000\u0000"+
|
||||||
"\u0000\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000"+
|
"\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000\u0000\u000f"+
|
||||||
"#\u0001\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'\u0001"+
|
"\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000\u0000\u0013"+
|
||||||
"\u0000\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000\u0000"+
|
"\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000\u0000\u0017"+
|
||||||
"\u0000\u0000-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000\u0000"+
|
"\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000\u0000\u001b"+
|
||||||
"1\u0001\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00005\u0001"+
|
"\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000\u0000\u001f"+
|
||||||
"\u0000\u0000\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001\u0000\u0000"+
|
"\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000#\u0001\u0000"+
|
||||||
"\u0000\u0000;\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000\u0000\u0000"+
|
"\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'\u0001\u0000\u0000"+
|
||||||
"?\u0001\u0000\u0000\u0000\u0001A\u0001\u0000\u0000\u0000\u0003D\u0001"+
|
"\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000\u0000\u0000\u0000"+
|
||||||
"\u0000\u0000\u0000\u0005G\u0001\u0000\u0000\u0000\u0007J\u0001\u0000\u0000"+
|
"-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000\u00001\u0001"+
|
||||||
"\u0000\tM\u0001\u0000\u0000\u0000\u000bU\u0001\u0000\u0000\u0000\r\\\u0001"+
|
"\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00005\u0001\u0000\u0000"+
|
||||||
"\u0000\u0000\u0000\u000f`\u0001\u0000\u0000\u0000\u0011f\u0001\u0000\u0000"+
|
"\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001\u0000\u0000\u0000\u0000"+
|
||||||
"\u0000\u0013m\u0001\u0000\u0000\u0000\u0015t\u0001\u0000\u0000\u0000\u0017"+
|
";\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000\u0000\u0000?\u0001"+
|
||||||
"|\u0001\u0000\u0000\u0000\u0019\u0081\u0001\u0000\u0000\u0000\u001b\u0086"+
|
"\u0000\u0000\u0000\u0000A\u0001\u0000\u0000\u0000\u0000C\u0001\u0000\u0000"+
|
||||||
"\u0001\u0000\u0000\u0000\u001d\u008d\u0001\u0000\u0000\u0000\u001f\u0097"+
|
"\u0000\u0000E\u0001\u0000\u0000\u0000\u0000G\u0001\u0000\u0000\u0000\u0001"+
|
||||||
"\u0001\u0000\u0000\u0000!\u009f\u0001\u0000\u0000\u0000#\u00a8\u0001\u0000"+
|
"I\u0001\u0000\u0000\u0000\u0003Q\u0001\u0000\u0000\u0000\u0005S\u0001"+
|
||||||
"\u0000\u0000%\u00ac\u0001\u0000\u0000\u0000\'\u00b5\u0001\u0000\u0000"+
|
"\u0000\u0000\u0000\u0007Z\u0001\u0000\u0000\u0000\t]\u0001\u0000\u0000"+
|
||||||
"\u0000)\u00bf\u0001\u0000\u0000\u0000+\u00c6\u0001\u0000\u0000\u0000-"+
|
"\u0000\u000b`\u0001\u0000\u0000\u0000\rc\u0001\u0000\u0000\u0000\u000f"+
|
||||||
"\u00dc\u0001\u0000\u0000\u0000/\u00de\u0001\u0000\u0000\u00001\u00e0\u0001"+
|
"j\u0001\u0000\u0000\u0000\u0011m\u0001\u0000\u0000\u0000\u0013v\u0001"+
|
||||||
"\u0000\u0000\u00003\u00e2\u0001\u0000\u0000\u00005\u00e4\u0001\u0000\u0000"+
|
"\u0000\u0000\u0000\u0015\u007f\u0001\u0000\u0000\u0000\u0017\u0083\u0001"+
|
||||||
"\u00007\u00e6\u0001\u0000\u0000\u00009\u00e8\u0001\u0000\u0000\u0000;"+
|
"\u0000\u0000\u0000\u0019\u0089\u0001\u0000\u0000\u0000\u001b\u0090\u0001"+
|
||||||
"\u00ea\u0001\u0000\u0000\u0000=\u00ec\u0001\u0000\u0000\u0000?\u00ee\u0001"+
|
"\u0000\u0000\u0000\u001d\u0097\u0001\u0000\u0000\u0000\u001f\u009f\u0001"+
|
||||||
"\u0000\u0000\u0000AB\u0005=\u0000\u0000BC\u0005>\u0000\u0000C\u0002\u0001"+
|
"\u0000\u0000\u0000!\u00a4\u0001\u0000\u0000\u0000#\u00a9\u0001\u0000\u0000"+
|
||||||
"\u0000\u0000\u0000DE\u0005&\u0000\u0000EF\u0005&\u0000\u0000F\u0004\u0001"+
|
"\u0000%\u00b0\u0001\u0000\u0000\u0000\'\u00ba\u0001\u0000\u0000\u0000"+
|
||||||
"\u0000\u0000\u0000GH\u0005|\u0000\u0000HI\u0005|\u0000\u0000I\u0006\u0001"+
|
")\u00c2\u0001\u0000\u0000\u0000+\u00cb\u0001\u0000\u0000\u0000-\u00cf"+
|
||||||
"\u0000\u0000\u0000JK\u0005(\u0000\u0000KL\u0005)\u0000\u0000L\b\u0001"+
|
"\u0001\u0000\u0000\u0000/\u00d8\u0001\u0000\u0000\u00001\u00e2\u0001\u0000"+
|
||||||
"\u0000\u0000\u0000MN\u0005A\u0000\u0000NO\u0005c\u0000\u0000OP\u0005c"+
|
"\u0000\u00003\u00e9\u0001\u0000\u0000\u00005\u00ff\u0001\u0000\u0000\u0000"+
|
||||||
"\u0000\u0000PQ\u0005e\u0000\u0000QR\u0005s\u0000\u0000RS\u0005s\u0000"+
|
"7\u0101\u0001\u0000\u0000\u00009\u0103\u0001\u0000\u0000\u0000;\u0105"+
|
||||||
"\u0000ST\u0005 \u0000\u0000T\n\u0001\u0000\u0000\u0000UV\u0005R\u0000"+
|
"\u0001\u0000\u0000\u0000=\u0107\u0001\u0000\u0000\u0000?\u0109\u0001\u0000"+
|
||||||
"\u0000VW\u0005e\u0000\u0000WX\u0005t\u0000\u0000XY\u0005u\u0000\u0000"+
|
"\u0000\u0000A\u010b\u0001\u0000\u0000\u0000C\u010d\u0001\u0000\u0000\u0000"+
|
||||||
"YZ\u0005r\u0000\u0000Z[\u0005n\u0000\u0000[\f\u0001\u0000\u0000\u0000"+
|
"E\u010f\u0001\u0000\u0000\u0000G\u0111\u0001\u0000\u0000\u0000IJ\u0005"+
|
||||||
"\\]\u0005I\u0000\u0000]^\u0005N\u0000\u0000^_\u0005T\u0000\u0000_\u000e"+
|
"p\u0000\u0000JK\u0005a\u0000\u0000KL\u0005c\u0000\u0000LM\u0005k\u0000"+
|
||||||
"\u0001\u0000\u0000\u0000`a\u0005F\u0000\u0000ab\u0005L\u0000\u0000bc\u0005"+
|
"\u0000MN\u0005a\u0000\u0000NO\u0005g\u0000\u0000OP\u0005e\u0000\u0000"+
|
||||||
"O\u0000\u0000cd\u0005A\u0000\u0000de\u0005T\u0000\u0000e\u0010\u0001\u0000"+
|
"P\u0002\u0001\u0000\u0000\u0000QR\u0005@\u0000\u0000R\u0004\u0001\u0000"+
|
||||||
"\u0000\u0000fg\u0005D\u0000\u0000gh\u0005O\u0000\u0000hi\u0005U\u0000"+
|
"\u0000\u0000ST\u0005r\u0000\u0000TU\u0005e\u0000\u0000UV\u0005s\u0000"+
|
||||||
"\u0000ij\u0005B\u0000\u0000jk\u0005L\u0000\u0000kl\u0005E\u0000\u0000"+
|
"\u0000VW\u0005u\u0000\u0000WX\u0005l\u0000\u0000XY\u0005t\u0000\u0000"+
|
||||||
"l\u0012\u0001\u0000\u0000\u0000mn\u0005S\u0000\u0000no\u0005T\u0000\u0000"+
|
"Y\u0006\u0001\u0000\u0000\u0000Z[\u0005=\u0000\u0000[\\\u0005>\u0000\u0000"+
|
||||||
"op\u0005R\u0000\u0000pq\u0005I\u0000\u0000qr\u0005N\u0000\u0000rs\u0005"+
|
"\\\b\u0001\u0000\u0000\u0000]^\u0005&\u0000\u0000^_\u0005&\u0000\u0000"+
|
||||||
"G\u0000\u0000s\u0014\u0001\u0000\u0000\u0000tu\u0005B\u0000\u0000uv\u0005"+
|
"_\n\u0001\u0000\u0000\u0000`a\u0005|\u0000\u0000ab\u0005|\u0000\u0000"+
|
||||||
"O\u0000\u0000vw\u0005O\u0000\u0000wx\u0005L\u0000\u0000xy\u0005E\u0000"+
|
"b\f\u0001\u0000\u0000\u0000cd\u0005r\u0000\u0000de\u0005e\u0000\u0000"+
|
||||||
"\u0000yz\u0005A\u0000\u0000z{\u0005N\u0000\u0000{\u0016\u0001\u0000\u0000"+
|
"ef\u0005t\u0000\u0000fg\u0005u\u0000\u0000gh\u0005r\u0000\u0000hi\u0005"+
|
||||||
"\u0000|}\u0005C\u0000\u0000}~\u0005H\u0000\u0000~\u007f\u0005A\u0000\u0000"+
|
"n\u0000\u0000i\u000e\u0001\u0000\u0000\u0000jk\u0005[\u0000\u0000kl\u0005"+
|
||||||
"\u007f\u0080\u0005R\u0000\u0000\u0080\u0018\u0001\u0000\u0000\u0000\u0081"+
|
"]\u0000\u0000l\u0010\u0001\u0000\u0000\u0000mn\u0005c\u0000\u0000no\u0005"+
|
||||||
"\u0082\u0005V\u0000\u0000\u0082\u0083\u0005O\u0000\u0000\u0083\u0084\u0005"+
|
"r\u0000\u0000op\u0005i\u0000\u0000pq\u0005t\u0000\u0000qr\u0005i\u0000"+
|
||||||
"I\u0000\u0000\u0084\u0085\u0005D\u0000\u0000\u0085\u001a\u0001\u0000\u0000"+
|
"\u0000rs\u0005c\u0000\u0000st\u0005a\u0000\u0000tu\u0005l\u0000\u0000"+
|
||||||
"\u0000\u0086\u0087\u0005P\u0000\u0000\u0087\u0088\u0005U\u0000\u0000\u0088"+
|
"u\u0012\u0001\u0000\u0000\u0000vw\u0005o\u0000\u0000wx\u0005p\u0000\u0000"+
|
||||||
"\u0089\u0005B\u0000\u0000\u0089\u008a\u0005L\u0000\u0000\u008a\u008b\u0005"+
|
"xy\u0005t\u0000\u0000yz\u0005i\u0000\u0000z{\u0005o\u0000\u0000{|\u0005"+
|
||||||
"I\u0000\u0000\u008b\u008c\u0005C\u0000\u0000\u008c\u001c\u0001\u0000\u0000"+
|
"n\u0000\u0000|}\u0005a\u0000\u0000}~\u0005l\u0000\u0000~\u0014\u0001\u0000"+
|
||||||
"\u0000\u008d\u008e\u0005P\u0000\u0000\u008e\u008f\u0005R\u0000\u0000\u008f"+
|
"\u0000\u0000\u007f\u0080\u0005I\u0000\u0000\u0080\u0081\u0005N\u0000\u0000"+
|
||||||
"\u0090\u0005O\u0000\u0000\u0090\u0091\u0005T\u0000\u0000\u0091\u0092\u0005"+
|
"\u0081\u0082\u0005T\u0000\u0000\u0082\u0016\u0001\u0000\u0000\u0000\u0083"+
|
||||||
"E\u0000\u0000\u0092\u0093\u0005C\u0000\u0000\u0093\u0094\u0005T\u0000"+
|
"\u0084\u0005F\u0000\u0000\u0084\u0085\u0005L\u0000\u0000\u0085\u0086\u0005"+
|
||||||
"\u0000\u0094\u0095\u0005E\u0000\u0000\u0095\u0096\u0005D\u0000\u0000\u0096"+
|
"O\u0000\u0000\u0086\u0087\u0005A\u0000\u0000\u0087\u0088\u0005T\u0000"+
|
||||||
"\u001e\u0001\u0000\u0000\u0000\u0097\u0098\u0005P\u0000\u0000\u0098\u0099"+
|
"\u0000\u0088\u0018\u0001\u0000\u0000\u0000\u0089\u008a\u0005D\u0000\u0000"+
|
||||||
"\u0005R\u0000\u0000\u0099\u009a\u0005I\u0000\u0000\u009a\u009b\u0005V"+
|
"\u008a\u008b\u0005O\u0000\u0000\u008b\u008c\u0005U\u0000\u0000\u008c\u008d"+
|
||||||
"\u0000\u0000\u009b\u009c\u0005A\u0000\u0000\u009c\u009d\u0005T\u0000\u0000"+
|
"\u0005B\u0000\u0000\u008d\u008e\u0005L\u0000\u0000\u008e\u008f\u0005E"+
|
||||||
"\u009d\u009e\u0005E\u0000\u0000\u009e \u0001\u0000\u0000\u0000\u009f\u00a0"+
|
"\u0000\u0000\u008f\u001a\u0001\u0000\u0000\u0000\u0090\u0091\u0005S\u0000"+
|
||||||
"\u0005D\u0000\u0000\u00a0\u00a1\u0005E\u0000\u0000\u00a1\u00a2\u0005F"+
|
"\u0000\u0091\u0092\u0005T\u0000\u0000\u0092\u0093\u0005R\u0000\u0000\u0093"+
|
||||||
"\u0000\u0000\u00a2\u00a3\u0005A\u0000\u0000\u00a3\u00a4\u0005U\u0000\u0000"+
|
"\u0094\u0005I\u0000\u0000\u0094\u0095\u0005N\u0000\u0000\u0095\u0096\u0005"+
|
||||||
"\u00a4\u00a5\u0005L\u0000\u0000\u00a5\u00a6\u0005T\u0000\u0000\u00a6\""+
|
"G\u0000\u0000\u0096\u001c\u0001\u0000\u0000\u0000\u0097\u0098\u0005B\u0000"+
|
||||||
"\u0001\u0000\u0000\u0000\u00a7\u00a9\u0007\u0000\u0000\u0000\u00a8\u00a7"+
|
"\u0000\u0098\u0099\u0005O\u0000\u0000\u0099\u009a\u0005O\u0000\u0000\u009a"+
|
||||||
"\u0001\u0000\u0000\u0000\u00a9\u00aa\u0001\u0000\u0000\u0000\u00aa\u00a8"+
|
"\u009b\u0005L\u0000\u0000\u009b\u009c\u0005E\u0000\u0000\u009c\u009d\u0005"+
|
||||||
"\u0001\u0000\u0000\u0000\u00aa\u00ab\u0001\u0000\u0000\u0000\u00ab$\u0001"+
|
"A\u0000\u0000\u009d\u009e\u0005N\u0000\u0000\u009e\u001e\u0001\u0000\u0000"+
|
||||||
"\u0000\u0000\u0000\u00ac\u00b0\u0005\"\u0000\u0000\u00ad\u00af\b\u0001"+
|
"\u0000\u009f\u00a0\u0005C\u0000\u0000\u00a0\u00a1\u0005H\u0000\u0000\u00a1"+
|
||||||
"\u0000\u0000\u00ae\u00ad\u0001\u0000\u0000\u0000\u00af\u00b2\u0001\u0000"+
|
"\u00a2\u0005A\u0000\u0000\u00a2\u00a3\u0005R\u0000\u0000\u00a3 \u0001"+
|
||||||
"\u0000\u0000\u00b0\u00ae\u0001\u0000\u0000\u0000\u00b0\u00b1\u0001\u0000"+
|
"\u0000\u0000\u0000\u00a4\u00a5\u0005V\u0000\u0000\u00a5\u00a6\u0005O\u0000"+
|
||||||
"\u0000\u0000\u00b1\u00b3\u0001\u0000\u0000\u0000\u00b2\u00b0\u0001\u0000"+
|
"\u0000\u00a6\u00a7\u0005I\u0000\u0000\u00a7\u00a8\u0005D\u0000\u0000\u00a8"+
|
||||||
"\u0000\u0000\u00b3\u00b4\u0005\"\u0000\u0000\u00b4&\u0001\u0000\u0000"+
|
"\"\u0001\u0000\u0000\u0000\u00a9\u00aa\u0005p\u0000\u0000\u00aa\u00ab"+
|
||||||
"\u0000\u00b5\u00b9\u0005~\u0000\u0000\u00b6\u00b8\b\u0002\u0000\u0000"+
|
"\u0005u\u0000\u0000\u00ab\u00ac\u0005b\u0000\u0000\u00ac\u00ad\u0005l"+
|
||||||
"\u00b7\u00b6\u0001\u0000\u0000\u0000\u00b8\u00bb\u0001\u0000\u0000\u0000"+
|
"\u0000\u0000\u00ad\u00ae\u0005i\u0000\u0000\u00ae\u00af\u0005c\u0000\u0000"+
|
||||||
"\u00b9\u00ba\u0001\u0000\u0000\u0000\u00b9\u00b7\u0001\u0000\u0000\u0000"+
|
"\u00af$\u0001\u0000\u0000\u0000\u00b0\u00b1\u0005p\u0000\u0000\u00b1\u00b2"+
|
||||||
"\u00ba\u00bc\u0001\u0000\u0000\u0000\u00bb\u00b9\u0001\u0000\u0000\u0000"+
|
"\u0005r\u0000\u0000\u00b2\u00b3\u0005o\u0000\u0000\u00b3\u00b4\u0005t"+
|
||||||
"\u00bc\u00bd\u0005~\u0000\u0000\u00bd(\u0001\u0000\u0000\u0000\u00be\u00c0"+
|
"\u0000\u0000\u00b4\u00b5\u0005e\u0000\u0000\u00b5\u00b6\u0005c\u0000\u0000"+
|
||||||
"\u0007\u0003\u0000\u0000\u00bf\u00be\u0001\u0000\u0000\u0000\u00c0\u00c1"+
|
"\u00b6\u00b7\u0005t\u0000\u0000\u00b7\u00b8\u0005e\u0000\u0000\u00b8\u00b9"+
|
||||||
"\u0001\u0000\u0000\u0000\u00c1\u00bf\u0001\u0000\u0000\u0000\u00c1\u00c2"+
|
"\u0005d\u0000\u0000\u00b9&\u0001\u0000\u0000\u0000\u00ba\u00bb\u0005p"+
|
||||||
"\u0001\u0000\u0000\u0000\u00c2\u00c3\u0001\u0000\u0000\u0000\u00c3\u00c4"+
|
"\u0000\u0000\u00bb\u00bc\u0005r\u0000\u0000\u00bc\u00bd\u0005i\u0000\u0000"+
|
||||||
"\u0006\u0014\u0000\u0000\u00c4*\u0001\u0000\u0000\u0000\u00c5\u00c7\u0007"+
|
"\u00bd\u00be\u0005v\u0000\u0000\u00be\u00bf\u0005a\u0000\u0000\u00bf\u00c0"+
|
||||||
"\u0004\u0000\u0000\u00c6\u00c5\u0001\u0000\u0000\u0000\u00c7\u00c8\u0001"+
|
"\u0005t\u0000\u0000\u00c0\u00c1\u0005e\u0000\u0000\u00c1(\u0001\u0000"+
|
||||||
"\u0000\u0000\u0000\u00c8\u00c6\u0001\u0000\u0000\u0000\u00c8\u00c9\u0001"+
|
"\u0000\u0000\u00c2\u00c3\u0005d\u0000\u0000\u00c3\u00c4\u0005e\u0000\u0000"+
|
||||||
"\u0000\u0000\u0000\u00c9,\u0001\u0000\u0000\u0000\u00ca\u00cc\u0007\u0004"+
|
"\u00c4\u00c5\u0005f\u0000\u0000\u00c5\u00c6\u0005a\u0000\u0000\u00c6\u00c7"+
|
||||||
"\u0000\u0000\u00cb\u00ca\u0001\u0000\u0000\u0000\u00cc\u00cd\u0001\u0000"+
|
"\u0005u\u0000\u0000\u00c7\u00c8\u0005l\u0000\u0000\u00c8\u00c9\u0005t"+
|
||||||
"\u0000\u0000\u00cd\u00cb\u0001\u0000\u0000\u0000\u00cd\u00ce\u0001\u0000"+
|
"\u0000\u0000\u00c9*\u0001\u0000\u0000\u0000\u00ca\u00cc\u0007\u0000\u0000"+
|
||||||
"\u0000\u0000\u00ce\u00cf\u0001\u0000\u0000\u0000\u00cf\u00d3\u0005.\u0000"+
|
"\u0000\u00cb\u00ca\u0001\u0000\u0000\u0000\u00cc\u00cd\u0001\u0000\u0000"+
|
||||||
"\u0000\u00d0\u00d2\u0007\u0004\u0000\u0000\u00d1\u00d0\u0001\u0000\u0000"+
|
"\u0000\u00cd\u00cb\u0001\u0000\u0000\u0000\u00cd\u00ce\u0001\u0000\u0000"+
|
||||||
"\u0000\u00d2\u00d5\u0001\u0000\u0000\u0000\u00d3\u00d1\u0001\u0000\u0000"+
|
"\u0000\u00ce,\u0001\u0000\u0000\u0000\u00cf\u00d3\u0005\"\u0000\u0000"+
|
||||||
"\u0000\u00d3\u00d4\u0001\u0000\u0000\u0000\u00d4\u00dd\u0001\u0000\u0000"+
|
"\u00d0\u00d2\b\u0001\u0000\u0000\u00d1\u00d0\u0001\u0000\u0000\u0000\u00d2"+
|
||||||
"\u0000\u00d5\u00d3\u0001\u0000\u0000\u0000\u00d6\u00d8\u0005.\u0000\u0000"+
|
"\u00d5\u0001\u0000\u0000\u0000\u00d3\u00d1\u0001\u0000\u0000\u0000\u00d3"+
|
||||||
"\u00d7\u00d9\u0007\u0004\u0000\u0000\u00d8\u00d7\u0001\u0000\u0000\u0000"+
|
"\u00d4\u0001\u0000\u0000\u0000\u00d4\u00d6\u0001\u0000\u0000\u0000\u00d5"+
|
||||||
"\u00d9\u00da\u0001\u0000\u0000\u0000\u00da\u00d8\u0001\u0000\u0000\u0000"+
|
"\u00d3\u0001\u0000\u0000\u0000\u00d6\u00d7\u0005\"\u0000\u0000\u00d7."+
|
||||||
"\u00da\u00db\u0001\u0000\u0000\u0000\u00db\u00dd\u0001\u0000\u0000\u0000"+
|
"\u0001\u0000\u0000\u0000\u00d8\u00dc\u0005~\u0000\u0000\u00d9\u00db\b"+
|
||||||
"\u00dc\u00cb\u0001\u0000\u0000\u0000\u00dc\u00d6\u0001\u0000\u0000\u0000"+
|
"\u0002\u0000\u0000\u00da\u00d9\u0001\u0000\u0000\u0000\u00db\u00de\u0001"+
|
||||||
"\u00dd.\u0001\u0000\u0000\u0000\u00de\u00df\u0005(\u0000\u0000\u00df0"+
|
"\u0000\u0000\u0000\u00dc\u00dd\u0001\u0000\u0000\u0000\u00dc\u00da\u0001"+
|
||||||
"\u0001\u0000\u0000\u0000\u00e0\u00e1\u0005)\u0000\u0000\u00e12\u0001\u0000"+
|
"\u0000\u0000\u0000\u00dd\u00df\u0001\u0000\u0000\u0000\u00de\u00dc\u0001"+
|
||||||
"\u0000\u0000\u00e2\u00e3\u0005:\u0000\u0000\u00e34\u0001\u0000\u0000\u0000"+
|
"\u0000\u0000\u0000\u00df\u00e0\u0005~\u0000\u0000\u00e00\u0001\u0000\u0000"+
|
||||||
"\u00e4\u00e5\u0005;\u0000\u0000\u00e56\u0001\u0000\u0000\u0000\u00e6\u00e7"+
|
"\u0000\u00e1\u00e3\u0007\u0003\u0000\u0000\u00e2\u00e1\u0001\u0000\u0000"+
|
||||||
"\u0005,\u0000\u0000\u00e78\u0001\u0000\u0000\u0000\u00e8\u00e9\u0005{"+
|
"\u0000\u00e3\u00e4\u0001\u0000\u0000\u0000\u00e4\u00e2\u0001\u0000\u0000"+
|
||||||
"\u0000\u0000\u00e9:\u0001\u0000\u0000\u0000\u00ea\u00eb\u0005}\u0000\u0000"+
|
"\u0000\u00e4\u00e5\u0001\u0000\u0000\u0000\u00e5\u00e6\u0001\u0000\u0000"+
|
||||||
"\u00eb<\u0001\u0000\u0000\u0000\u00ec\u00ed\u0005~\u0000\u0000\u00ed>"+
|
"\u0000\u00e6\u00e7\u0006\u0018\u0000\u0000\u00e72\u0001\u0000\u0000\u0000"+
|
||||||
"\u0001\u0000\u0000\u0000\u00ee\u00ef\u0005!\u0000\u0000\u00ef@\u0001\u0000"+
|
"\u00e8\u00ea\u0007\u0004\u0000\u0000\u00e9\u00e8\u0001\u0000\u0000\u0000"+
|
||||||
"\u0000\u0000\n\u0000\u00aa\u00b0\u00b9\u00c1\u00c8\u00cd\u00d3\u00da\u00dc"+
|
"\u00ea\u00eb\u0001\u0000\u0000\u0000\u00eb\u00e9\u0001\u0000\u0000\u0000"+
|
||||||
"\u0001\u0006\u0000\u0000";
|
"\u00eb\u00ec\u0001\u0000\u0000\u0000\u00ec4\u0001\u0000\u0000\u0000\u00ed"+
|
||||||
|
"\u00ef\u0007\u0004\u0000\u0000\u00ee\u00ed\u0001\u0000\u0000\u0000\u00ef"+
|
||||||
|
"\u00f0\u0001\u0000\u0000\u0000\u00f0\u00ee\u0001\u0000\u0000\u0000\u00f0"+
|
||||||
|
"\u00f1\u0001\u0000\u0000\u0000\u00f1\u00f2\u0001\u0000\u0000\u0000\u00f2"+
|
||||||
|
"\u00f6\u0005.\u0000\u0000\u00f3\u00f5\u0007\u0004\u0000\u0000\u00f4\u00f3"+
|
||||||
|
"\u0001\u0000\u0000\u0000\u00f5\u00f8\u0001\u0000\u0000\u0000\u00f6\u00f4"+
|
||||||
|
"\u0001\u0000\u0000\u0000\u00f6\u00f7\u0001\u0000\u0000\u0000\u00f7\u0100"+
|
||||||
|
"\u0001\u0000\u0000\u0000\u00f8\u00f6\u0001\u0000\u0000\u0000\u00f9\u00fb"+
|
||||||
|
"\u0005.\u0000\u0000\u00fa\u00fc\u0007\u0004\u0000\u0000\u00fb\u00fa\u0001"+
|
||||||
|
"\u0000\u0000\u0000\u00fc\u00fd\u0001\u0000\u0000\u0000\u00fd\u00fb\u0001"+
|
||||||
|
"\u0000\u0000\u0000\u00fd\u00fe\u0001\u0000\u0000\u0000\u00fe\u0100\u0001"+
|
||||||
|
"\u0000\u0000\u0000\u00ff\u00ee\u0001\u0000\u0000\u0000\u00ff\u00f9\u0001"+
|
||||||
|
"\u0000\u0000\u0000\u01006\u0001\u0000\u0000\u0000\u0101\u0102\u0005(\u0000"+
|
||||||
|
"\u0000\u01028\u0001\u0000\u0000\u0000\u0103\u0104\u0005)\u0000\u0000\u0104"+
|
||||||
|
":\u0001\u0000\u0000\u0000\u0105\u0106\u0005:\u0000\u0000\u0106<\u0001"+
|
||||||
|
"\u0000\u0000\u0000\u0107\u0108\u0005;\u0000\u0000\u0108>\u0001\u0000\u0000"+
|
||||||
|
"\u0000\u0109\u010a\u0005,\u0000\u0000\u010a@\u0001\u0000\u0000\u0000\u010b"+
|
||||||
|
"\u010c\u0005{\u0000\u0000\u010cB\u0001\u0000\u0000\u0000\u010d\u010e\u0005"+
|
||||||
|
"}\u0000\u0000\u010eD\u0001\u0000\u0000\u0000\u010f\u0110\u0005~\u0000"+
|
||||||
|
"\u0000\u0110F\u0001\u0000\u0000\u0000\u0111\u0112\u0005!\u0000\u0000\u0112"+
|
||||||
|
"H\u0001\u0000\u0000\u0000\n\u0000\u00cd\u00d3\u00dc\u00e4\u00eb\u00f0"+
|
||||||
|
"\u00f6\u00fd\u00ff\u0001\u0006\u0000\u0000";
|
||||||
public static final ATN _ATN =
|
public static final ATN _ATN =
|
||||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||||
static {
|
static {
|
||||||
|
|||||||
@@ -15,44 +15,52 @@ T__13=14
|
|||||||
T__14=15
|
T__14=15
|
||||||
T__15=16
|
T__15=16
|
||||||
T__16=17
|
T__16=17
|
||||||
ID=18
|
T__17=18
|
||||||
STRING=19
|
T__18=19
|
||||||
DESCRIPTION=20
|
T__19=20
|
||||||
WS=21
|
T__20=21
|
||||||
INT=22
|
ID=22
|
||||||
FLOAT=23
|
STRING=23
|
||||||
LPAREN=24
|
DESCRIPTION=24
|
||||||
RPAREN=25
|
WS=25
|
||||||
COLON=26
|
INT=26
|
||||||
SEMICOLON=27
|
FLOAT=27
|
||||||
COMMA=28
|
LPAREN=28
|
||||||
LBRACE=29
|
RPAREN=29
|
||||||
RBRACE=30
|
COLON=30
|
||||||
TILDE=31
|
SEMICOLON=31
|
||||||
EXCLAM=32
|
COMMA=32
|
||||||
'=>'=1
|
LBRACE=33
|
||||||
'&&'=2
|
RBRACE=34
|
||||||
'||'=3
|
TILDE=35
|
||||||
'()'=4
|
EXCLAM=36
|
||||||
'Access '=5
|
'package'=1
|
||||||
'Return'=6
|
'@'=2
|
||||||
'INT'=7
|
'result'=3
|
||||||
'FLOAT'=8
|
'=>'=4
|
||||||
'DOUBLE'=9
|
'&&'=5
|
||||||
'STRING'=10
|
'||'=6
|
||||||
'BOOLEAN'=11
|
'return'=7
|
||||||
'CHAR'=12
|
'[]'=8
|
||||||
'VOID'=13
|
'critical'=9
|
||||||
'PUBLIC'=14
|
'optional'=10
|
||||||
'PROTECTED'=15
|
'INT'=11
|
||||||
'PRIVATE'=16
|
'FLOAT'=12
|
||||||
'DEFAULT'=17
|
'DOUBLE'=13
|
||||||
'('=24
|
'STRING'=14
|
||||||
')'=25
|
'BOOLEAN'=15
|
||||||
':'=26
|
'CHAR'=16
|
||||||
';'=27
|
'VOID'=17
|
||||||
','=28
|
'public'=18
|
||||||
'{'=29
|
'protected'=19
|
||||||
'}'=30
|
'private'=20
|
||||||
'~'=31
|
'default'=21
|
||||||
'!'=32
|
'('=28
|
||||||
|
')'=29
|
||||||
|
':'=30
|
||||||
|
';'=31
|
||||||
|
','=32
|
||||||
|
'{'=33
|
||||||
|
'}'=34
|
||||||
|
'~'=35
|
||||||
|
'!'=36
|
||||||
|
|||||||
@@ -17,6 +17,16 @@ public interface SoftwareRequirementsListener extends ParseTreeListener {
|
|||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitProgram(SoftwareRequirementsParser.ProgramContext ctx);
|
void exitProgram(SoftwareRequirementsParser.ProgramContext ctx);
|
||||||
|
/**
|
||||||
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#program_body}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void enterProgram_body(SoftwareRequirementsParser.Program_bodyContext ctx);
|
||||||
|
/**
|
||||||
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#program_body}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void exitProgram_body(SoftwareRequirementsParser.Program_bodyContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#requirementSpec}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#requirementSpec}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -28,15 +38,25 @@ public interface SoftwareRequirementsListener extends ParseTreeListener {
|
|||||||
*/
|
*/
|
||||||
void exitRequirementSpec(SoftwareRequirementsParser.RequirementSpecContext ctx);
|
void exitRequirementSpec(SoftwareRequirementsParser.RequirementSpecContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#description}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#req_specification}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterDescription(SoftwareRequirementsParser.DescriptionContext ctx);
|
void enterReq_specification(SoftwareRequirementsParser.Req_specificationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link SoftwareRequirementsParser#description}.
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#req_specification}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitDescription(SoftwareRequirementsParser.DescriptionContext ctx);
|
void exitReq_specification(SoftwareRequirementsParser.Req_specificationContext ctx);
|
||||||
|
/**
|
||||||
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#result_specification}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void enterResult_specification(SoftwareRequirementsParser.Result_specificationContext ctx);
|
||||||
|
/**
|
||||||
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#result_specification}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void exitResult_specification(SoftwareRequirementsParser.Result_specificationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#predicate}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#predicate}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -88,15 +108,25 @@ public interface SoftwareRequirementsListener extends ParseTreeListener {
|
|||||||
*/
|
*/
|
||||||
void exitFunctionSpec(SoftwareRequirementsParser.FunctionSpecContext ctx);
|
void exitFunctionSpec(SoftwareRequirementsParser.FunctionSpecContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#access_modifier}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#functionBody}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterAccess_modifier(SoftwareRequirementsParser.Access_modifierContext ctx);
|
void enterFunctionBody(SoftwareRequirementsParser.FunctionBodyContext ctx);
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link SoftwareRequirementsParser#access_modifier}.
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#functionBody}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitAccess_modifier(SoftwareRequirementsParser.Access_modifierContext ctx);
|
void exitFunctionBody(SoftwareRequirementsParser.FunctionBodyContext ctx);
|
||||||
|
/**
|
||||||
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#input_types}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void enterInput_types(SoftwareRequirementsParser.Input_typesContext ctx);
|
||||||
|
/**
|
||||||
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#input_types}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void exitInput_types(SoftwareRequirementsParser.Input_typesContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#return_types}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#return_types}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -108,35 +138,35 @@ public interface SoftwareRequirementsListener extends ParseTreeListener {
|
|||||||
*/
|
*/
|
||||||
void exitReturn_types(SoftwareRequirementsParser.Return_typesContext ctx);
|
void exitReturn_types(SoftwareRequirementsParser.Return_typesContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#return}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#specification}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterReturn(SoftwareRequirementsParser.ReturnContext ctx);
|
void enterSpecification(SoftwareRequirementsParser.SpecificationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link SoftwareRequirementsParser#return}.
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#specification}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitReturn(SoftwareRequirementsParser.ReturnContext ctx);
|
void exitSpecification(SoftwareRequirementsParser.SpecificationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#parameter_list}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#variable}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterParameter_list(SoftwareRequirementsParser.Parameter_listContext ctx);
|
void enterVariable(SoftwareRequirementsParser.VariableContext ctx);
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link SoftwareRequirementsParser#parameter_list}.
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#variable}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitParameter_list(SoftwareRequirementsParser.Parameter_listContext ctx);
|
void exitVariable(SoftwareRequirementsParser.VariableContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#parameter}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#importance}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterParameter(SoftwareRequirementsParser.ParameterContext ctx);
|
void enterImportance(SoftwareRequirementsParser.ImportanceContext ctx);
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link SoftwareRequirementsParser#parameter}.
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#importance}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitParameter(SoftwareRequirementsParser.ParameterContext ctx);
|
void exitImportance(SoftwareRequirementsParser.ImportanceContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link SoftwareRequirementsParser#type}.
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#type}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -157,4 +187,14 @@ public interface SoftwareRequirementsListener extends ParseTreeListener {
|
|||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx);
|
void exitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx);
|
||||||
|
/**
|
||||||
|
* Enter a parse tree produced by {@link SoftwareRequirementsParser#description}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void enterDescription(SoftwareRequirementsParser.DescriptionContext ctx);
|
||||||
|
/**
|
||||||
|
* Exit a parse tree produced by {@link SoftwareRequirementsParser#description}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void exitDescription(SoftwareRequirementsParser.DescriptionContext ctx);
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -16,6 +16,12 @@ public interface SoftwareRequirementsVisitor<T> extends ParseTreeVisitor<T> {
|
|||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitProgram(SoftwareRequirementsParser.ProgramContext ctx);
|
T visitProgram(SoftwareRequirementsParser.ProgramContext ctx);
|
||||||
|
/**
|
||||||
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#program_body}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
* @return the visitor result
|
||||||
|
*/
|
||||||
|
T visitProgram_body(SoftwareRequirementsParser.Program_bodyContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#requirementSpec}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#requirementSpec}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -23,11 +29,17 @@ public interface SoftwareRequirementsVisitor<T> extends ParseTreeVisitor<T> {
|
|||||||
*/
|
*/
|
||||||
T visitRequirementSpec(SoftwareRequirementsParser.RequirementSpecContext ctx);
|
T visitRequirementSpec(SoftwareRequirementsParser.RequirementSpecContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#description}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#req_specification}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitDescription(SoftwareRequirementsParser.DescriptionContext ctx);
|
T visitReq_specification(SoftwareRequirementsParser.Req_specificationContext ctx);
|
||||||
|
/**
|
||||||
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#result_specification}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
* @return the visitor result
|
||||||
|
*/
|
||||||
|
T visitResult_specification(SoftwareRequirementsParser.Result_specificationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#predicate}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#predicate}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -59,11 +71,17 @@ public interface SoftwareRequirementsVisitor<T> extends ParseTreeVisitor<T> {
|
|||||||
*/
|
*/
|
||||||
T visitFunctionSpec(SoftwareRequirementsParser.FunctionSpecContext ctx);
|
T visitFunctionSpec(SoftwareRequirementsParser.FunctionSpecContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#access_modifier}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#functionBody}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitAccess_modifier(SoftwareRequirementsParser.Access_modifierContext ctx);
|
T visitFunctionBody(SoftwareRequirementsParser.FunctionBodyContext ctx);
|
||||||
|
/**
|
||||||
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#input_types}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
* @return the visitor result
|
||||||
|
*/
|
||||||
|
T visitInput_types(SoftwareRequirementsParser.Input_typesContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#return_types}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#return_types}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -71,23 +89,23 @@ public interface SoftwareRequirementsVisitor<T> extends ParseTreeVisitor<T> {
|
|||||||
*/
|
*/
|
||||||
T visitReturn_types(SoftwareRequirementsParser.Return_typesContext ctx);
|
T visitReturn_types(SoftwareRequirementsParser.Return_typesContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#return}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#specification}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitReturn(SoftwareRequirementsParser.ReturnContext ctx);
|
T visitSpecification(SoftwareRequirementsParser.SpecificationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#parameter_list}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#variable}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitParameter_list(SoftwareRequirementsParser.Parameter_listContext ctx);
|
T visitVariable(SoftwareRequirementsParser.VariableContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#parameter}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#importance}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitParameter(SoftwareRequirementsParser.ParameterContext ctx);
|
T visitImportance(SoftwareRequirementsParser.ImportanceContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link SoftwareRequirementsParser#type}.
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#type}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
@@ -100,4 +118,10 @@ public interface SoftwareRequirementsVisitor<T> extends ParseTreeVisitor<T> {
|
|||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx);
|
T visitAccess_modifiers(SoftwareRequirementsParser.Access_modifiersContext ctx);
|
||||||
|
/**
|
||||||
|
* Visit a parse tree produced by {@link SoftwareRequirementsParser#description}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
* @return the visitor result
|
||||||
|
*/
|
||||||
|
T visitDescription(SoftwareRequirementsParser.DescriptionContext ctx);
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,22 @@
|
|||||||
!DatabaseAccess:
|
package Database {
|
||||||
~This is for comments, or descriptions~
|
|
||||||
{"UserIsAuthenticated" && "UserHasPermission"} => {"AccessToAdminPanel" || "AccessToModeratorPanel"};
|
|
||||||
|
|
||||||
GetUserList():
|
|
||||||
~This is for comments, or descriptions~
|
~This is for comments, or descriptions~
|
||||||
Access PRIVATE;
|
critical DatabaseAccess {
|
||||||
Return (INT x, FLOAT v);
|
optional @UserHasAdminAccess;
|
||||||
{"Execution Time" : "<1s", "MaxValue" : 100};
|
critical @UserIsNotBanned;
|
||||||
|
|
||||||
|
result optional DatabaseAdminPanel;
|
||||||
|
result critical DatabaseVisualizerPanel;
|
||||||
|
result Clock;
|
||||||
|
}
|
||||||
|
|
||||||
|
~This is for comments, or explanations~
|
||||||
|
critical public GetUserList(FLOAT[] x, STRING ag) {
|
||||||
|
@ExecTime : "10s";
|
||||||
|
@MaxReturnVals : "10s";
|
||||||
|
return INT x;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user