aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services
diff options
context:
space:
mode:
authorLibravatar OszkarSemerath <oszkar.semerath@gmail.com>2018-07-16 18:25:34 +0200
committerLibravatar OszkarSemerath <oszkar.semerath@gmail.com>2018-07-16 18:25:34 +0200
commit59a53fc819355fb2809b23544a5ca19ffff802fb (patch)
treee67cba5ca12cfbba7d2dc68e6c07fe36c996e3f2 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services
parentSupport for building float, double and BigDecimal literals (diff)
downloadVIATRA-Generator-59a53fc819355fb2809b23544a5ca19ffff802fb.tar.gz
VIATRA-Generator-59a53fc819355fb2809b23544a5ca19ffff802fb.tar.zst
VIATRA-Generator-59a53fc819355fb2809b23544a5ca19ffff802fb.zip
Scope support for attributes
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java126
1 files changed, 96 insertions, 30 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java
index 637bd146..47166823 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java
@@ -102,14 +102,58 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
102 //ID 102 //ID
103 public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } 103 public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; }
104 } 104 }
105 public class REALLiteralElements extends AbstractParserRuleElementFinder {
106 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
107 private final Group cGroup = (Group)rule.eContents().get(1);
108 private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0);
109 private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
110 private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
111 private final RuleCall cINTTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3);
112
113 //REALLiteral ecore::EBigDecimal:
114 // '-'? INT '.' INT;
115 @Override public ParserRule getRule() { return rule; }
116
117 //'-'? INT '.' INT
118 public Group getGroup() { return cGroup; }
119
120 //'-'?
121 public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; }
122
123 //INT
124 public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
125
126 //'.'
127 public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
128
129 //INT
130 public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; }
131 }
132 public class INTLiteralElements extends AbstractParserRuleElementFinder {
133 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
134 private final Group cGroup = (Group)rule.eContents().get(1);
135 private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0);
136 private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
137
138 //INTLiteral ecore::EInt:
139 // '-'? INT;
140 @Override public ParserRule getRule() { return rule; }
141
142 //'-'? INT
143 public Group getGroup() { return cGroup; }
144
145 //'-'?
146 public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; }
147
148 //INT
149 public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
150 }
105 public class ImportElements extends AbstractParserRuleElementFinder { 151 public class ImportElements extends AbstractParserRuleElementFinder {
106 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); 152 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import");
107 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 153 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
108 private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 154 private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
109 private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 155 private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
110 156
111 ////terminal REAL returns ecore::EBigDecimal: '-'? INT '.' INT;
112 ////terminal INTEGER returns ecore::EInt: '-'? INT;
113 ///////////////////////////////////////////////////// 157 /////////////////////////////////////////////////////
114 //// Imports 158 //// Imports
115 ///////////////////////////////////////////////////// 159 /////////////////////////////////////////////////////
@@ -1981,18 +2025,18 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
1981 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); 2025 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
1982 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 2026 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
1983 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); 2027 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
1984 private final RuleCall cEntryINTTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); 2028 private final RuleCall cEntryINTLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0);
1985 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); 2029 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
1986 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); 2030 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
1987 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); 2031 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
1988 private final RuleCall cEntryINTTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); 2032 private final RuleCall cEntryINTLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0);
1989 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 2033 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
1990 2034
1991 //IntEnumberation: 2035 //IntEnumberation:
1992 // {IntEnumberation} '{' (entry+=INT (',' entry+=INT)*)? '}'; 2036 // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}';
1993 @Override public ParserRule getRule() { return rule; } 2037 @Override public ParserRule getRule() { return rule; }
1994 2038
1995 //{IntEnumberation} '{' (entry+=INT (',' entry+=INT)*)? '}' 2039 //{IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'
1996 public Group getGroup() { return cGroup; } 2040 public Group getGroup() { return cGroup; }
1997 2041
1998 //{IntEnumberation} 2042 //{IntEnumberation}
@@ -2001,26 +2045,26 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
2001 //'{' 2045 //'{'
2002 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } 2046 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
2003 2047
2004 //(entry+=INT (',' entry+=INT)*)? 2048 //(entry+=INTLiteral (',' entry+=INTLiteral)*)?
2005 public Group getGroup_2() { return cGroup_2; } 2049 public Group getGroup_2() { return cGroup_2; }
2006 2050
2007 //entry+=INT 2051 //entry+=INTLiteral
2008 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } 2052 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; }
2009 2053
2010 //INT 2054 //INTLiteral
2011 public RuleCall getEntryINTTerminalRuleCall_2_0_0() { return cEntryINTTerminalRuleCall_2_0_0; } 2055 public RuleCall getEntryINTLiteralParserRuleCall_2_0_0() { return cEntryINTLiteralParserRuleCall_2_0_0; }
2012 2056
2013 //(',' entry+=INT)* 2057 //(',' entry+=INTLiteral)*
2014 public Group getGroup_2_1() { return cGroup_2_1; } 2058 public Group getGroup_2_1() { return cGroup_2_1; }
2015 2059
2016 //',' 2060 //','
2017 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } 2061 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
2018 2062
2019 //entry+=INT 2063 //entry+=INTLiteral
2020 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } 2064 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; }
2021 2065
2022 //INT 2066 //INTLiteral
2023 public RuleCall getEntryINTTerminalRuleCall_2_1_1_0() { return cEntryINTTerminalRuleCall_2_1_1_0; } 2067 public RuleCall getEntryINTLiteralParserRuleCall_2_1_1_0() { return cEntryINTLiteralParserRuleCall_2_1_1_0; }
2024 2068
2025 //'}' 2069 //'}'
2026 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 2070 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
@@ -2032,18 +2076,18 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
2032 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); 2076 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
2033 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 2077 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
2034 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); 2078 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
2035 private final RuleCall cEntryINTTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); 2079 private final RuleCall cEntryREALLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0);
2036 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); 2080 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
2037 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); 2081 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
2038 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); 2082 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
2039 private final RuleCall cEntryINTTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); 2083 private final RuleCall cEntryREALLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0);
2040 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 2084 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
2041 2085
2042 //RealEnumeration: 2086 //RealEnumeration:
2043 // {RealEnumeration} '{' (entry+=INT (',' entry+=INT)*)? '}'; 2087 // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}';
2044 @Override public ParserRule getRule() { return rule; } 2088 @Override public ParserRule getRule() { return rule; }
2045 2089
2046 //{RealEnumeration} '{' (entry+=INT (',' entry+=INT)*)? '}' 2090 //{RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'
2047 public Group getGroup() { return cGroup; } 2091 public Group getGroup() { return cGroup; }
2048 2092
2049 //{RealEnumeration} 2093 //{RealEnumeration}
@@ -2052,26 +2096,26 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
2052 //'{' 2096 //'{'
2053 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } 2097 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
2054 2098
2055 //(entry+=INT (',' entry+=INT)*)? 2099 //(entry+=REALLiteral (',' entry+=REALLiteral)*)?
2056 public Group getGroup_2() { return cGroup_2; } 2100 public Group getGroup_2() { return cGroup_2; }
2057 2101
2058 //entry+=INT 2102 //entry+=REALLiteral
2059 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } 2103 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; }
2060 2104
2061 //INT 2105 //REALLiteral
2062 public RuleCall getEntryINTTerminalRuleCall_2_0_0() { return cEntryINTTerminalRuleCall_2_0_0; } 2106 public RuleCall getEntryREALLiteralParserRuleCall_2_0_0() { return cEntryREALLiteralParserRuleCall_2_0_0; }
2063 2107
2064 //(',' entry+=INT)* 2108 //(',' entry+=REALLiteral)*
2065 public Group getGroup_2_1() { return cGroup_2_1; } 2109 public Group getGroup_2_1() { return cGroup_2_1; }
2066 2110
2067 //',' 2111 //','
2068 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } 2112 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
2069 2113
2070 //entry+=INT 2114 //entry+=REALLiteral
2071 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } 2115 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; }
2072 2116
2073 //INT 2117 //REALLiteral
2074 public RuleCall getEntryINTTerminalRuleCall_2_1_1_0() { return cEntryINTTerminalRuleCall_2_1_1_0; } 2118 public RuleCall getEntryREALLiteralParserRuleCall_2_1_1_0() { return cEntryREALLiteralParserRuleCall_2_1_1_0; }
2075 2119
2076 //'}' 2120 //'}'
2077 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 2121 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
@@ -2573,6 +2617,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
2573 private final ConfigurationScriptElements pConfigurationScript; 2617 private final ConfigurationScriptElements pConfigurationScript;
2574 private final CommandElements pCommand; 2618 private final CommandElements pCommand;
2575 private final QualifiedNameElements pQualifiedName; 2619 private final QualifiedNameElements pQualifiedName;
2620 private final REALLiteralElements pREALLiteral;
2621 private final INTLiteralElements pINTLiteral;
2576 private final ImportElements pImport; 2622 private final ImportElements pImport;
2577 private final EPackageImportElements pEPackageImport; 2623 private final EPackageImportElements pEPackageImport;
2578 private final ViatraImportElements pViatraImport; 2624 private final ViatraImportElements pViatraImport;
@@ -2650,6 +2696,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
2650 this.pConfigurationScript = new ConfigurationScriptElements(); 2696 this.pConfigurationScript = new ConfigurationScriptElements();
2651 this.pCommand = new CommandElements(); 2697 this.pCommand = new CommandElements();
2652 this.pQualifiedName = new QualifiedNameElements(); 2698 this.pQualifiedName = new QualifiedNameElements();
2699 this.pREALLiteral = new REALLiteralElements();
2700 this.pINTLiteral = new INTLiteralElements();
2653 this.pImport = new ImportElements(); 2701 this.pImport = new ImportElements();
2654 this.pEPackageImport = new EPackageImportElements(); 2702 this.pEPackageImport = new EPackageImportElements();
2655 this.pViatraImport = new ViatraImportElements(); 2703 this.pViatraImport = new ViatraImportElements();
@@ -2774,8 +2822,26 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
2774 return getQualifiedNameAccess().getRule(); 2822 return getQualifiedNameAccess().getRule();
2775 } 2823 }
2776 2824
2777 ////terminal REAL returns ecore::EBigDecimal: '-'? INT '.' INT; 2825 //REALLiteral ecore::EBigDecimal:
2778 ////terminal INTEGER returns ecore::EInt: '-'? INT; 2826 // '-'? INT '.' INT;
2827 public REALLiteralElements getREALLiteralAccess() {
2828 return pREALLiteral;
2829 }
2830
2831 public ParserRule getREALLiteralRule() {
2832 return getREALLiteralAccess().getRule();
2833 }
2834
2835 //INTLiteral ecore::EInt:
2836 // '-'? INT;
2837 public INTLiteralElements getINTLiteralAccess() {
2838 return pINTLiteral;
2839 }
2840
2841 public ParserRule getINTLiteralRule() {
2842 return getINTLiteralAccess().getRule();
2843 }
2844
2779 ///////////////////////////////////////////////////// 2845 /////////////////////////////////////////////////////
2780 //// Imports 2846 //// Imports
2781 ///////////////////////////////////////////////////// 2847 /////////////////////////////////////////////////////
@@ -3371,7 +3437,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
3371 } 3437 }
3372 3438
3373 //IntEnumberation: 3439 //IntEnumberation:
3374 // {IntEnumberation} '{' (entry+=INT (',' entry+=INT)*)? '}'; 3440 // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}';
3375 public IntEnumberationElements getIntEnumberationAccess() { 3441 public IntEnumberationElements getIntEnumberationAccess() {
3376 return pIntEnumberation; 3442 return pIntEnumberation;
3377 } 3443 }
@@ -3381,7 +3447,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen
3381 } 3447 }
3382 3448
3383 //RealEnumeration: 3449 //RealEnumeration:
3384 // {RealEnumeration} '{' (entry+=INT (',' entry+=INT)*)? '}'; 3450 // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}';
3385 public RealEnumerationElements getRealEnumerationAccess() { 3451 public RealEnumerationElements getRealEnumerationAccess() {
3386 return pRealEnumeration; 3452 return pRealEnumeration;
3387 } 3453 }