diff options
author | 2020-05-08 21:02:33 +0200 | |
---|---|---|
committer | 2020-05-08 21:02:33 +0200 | |
commit | 771e3773bb7ebbf6712724cb2b248467c9cc2e3c (patch) | |
tree | b1724af24b9c583b2780c7a2fe76e76fd174359d /Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g | |
parent | Update solver language grammar (diff) | |
download | VIATRA-Generator-771e3773bb7ebbf6712724cb2b248467c9cc2e3c.tar.gz VIATRA-Generator-771e3773bb7ebbf6712724cb2b248467c9cc2e3c.tar.zst VIATRA-Generator-771e3773bb7ebbf6712724cb2b248467c9cc2e3c.zip |
Synthetic tokens for solver language
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g')
-rw-r--r-- | Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g new file mode 100644 index 00000000..309435e3 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g | |||
@@ -0,0 +1,178 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | lexer grammar InternalSolverLanguageLexer; | ||
5 | |||
6 | @header { | ||
7 | package org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer; | ||
8 | |||
9 | // Hack: Use our own Lexer superclass by means of import. | ||
10 | // Currently there is no other way to specify the superclass for the lexer. | ||
11 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; | ||
12 | } | ||
13 | |||
14 | GREATER_EQ : 'GREATER_EQ'; | ||
15 | |||
16 | Functional : 'functional'; | ||
17 | |||
18 | Abstract : 'abstract'; | ||
19 | |||
20 | Contains : 'contains'; | ||
21 | |||
22 | Maximize : 'maximize'; | ||
23 | |||
24 | Minimize : 'minimize'; | ||
25 | |||
26 | Opposite : 'opposite'; | ||
27 | |||
28 | GREATER : 'GREATER'; | ||
29 | |||
30 | LESS_EQ : 'LESS_EQ'; | ||
31 | |||
32 | Current : 'current'; | ||
33 | |||
34 | Default : 'default'; | ||
35 | |||
36 | Extends : 'extends'; | ||
37 | |||
38 | Unknown : 'unknown'; | ||
39 | |||
40 | NOT_EQ : 'NOT_EQ'; | ||
41 | |||
42 | Extern : 'extern'; | ||
43 | |||
44 | Class : 'class'; | ||
45 | |||
46 | Count : 'count'; | ||
47 | |||
48 | Empty : 'empty'; | ||
49 | |||
50 | Error : 'error'; | ||
51 | |||
52 | False : 'false'; | ||
53 | |||
54 | Scope : 'scope'; | ||
55 | |||
56 | LESS : 'LESS'; | ||
57 | |||
58 | Else : 'else'; | ||
59 | |||
60 | Must : 'must'; | ||
61 | |||
62 | Only : 'only'; | ||
63 | |||
64 | Prod : 'prod'; | ||
65 | |||
66 | Real : 'real'; | ||
67 | |||
68 | Then : 'then'; | ||
69 | |||
70 | True : 'true'; | ||
71 | |||
72 | ADD : 'ADD'; | ||
73 | |||
74 | DIV : 'DIV'; | ||
75 | |||
76 | MUL : 'MUL'; | ||
77 | |||
78 | POW : 'POW'; | ||
79 | |||
80 | SUB : 'SUB'; | ||
81 | |||
82 | Avg : 'avg'; | ||
83 | |||
84 | Inf : 'inf'; | ||
85 | |||
86 | Int : 'int'; | ||
87 | |||
88 | Max : 'max'; | ||
89 | |||
90 | May : 'may'; | ||
91 | |||
92 | Min : 'min'; | ||
93 | |||
94 | Sum : 'sum'; | ||
95 | |||
96 | ExclamationMarkEqualsSign : '!='; | ||
97 | |||
98 | HyphenMinusGreaterThanSign : '->'; | ||
99 | |||
100 | FullStopFullStop : '..'; | ||
101 | |||
102 | ColonHyphenMinus : ':-'; | ||
103 | |||
104 | LessThanSignEqualsSign : '<='; | ||
105 | |||
106 | EqualsSignEqualsSign : '=='; | ||
107 | |||
108 | GreaterThanSignEqualsSign : '>='; | ||
109 | |||
110 | EQ : 'EQ'; | ||
111 | |||
112 | IN : 'IN'; | ||
113 | |||
114 | If : 'if'; | ||
115 | |||
116 | In : 'in'; | ||
117 | |||
118 | ExclamationMark : '!'; | ||
119 | |||
120 | LeftParenthesis : '('; | ||
121 | |||
122 | RightParenthesis : ')'; | ||
123 | |||
124 | Asterisk : '*'; | ||
125 | |||
126 | PlusSign : '+'; | ||
127 | |||
128 | Comma : ','; | ||
129 | |||
130 | HyphenMinus : '-'; | ||
131 | |||
132 | FullStop : '.'; | ||
133 | |||
134 | Solidus : '/'; | ||
135 | |||
136 | Colon : ':'; | ||
137 | |||
138 | Semicolon : ';'; | ||
139 | |||
140 | LessThanSign : '<'; | ||
141 | |||
142 | EqualsSign : '='; | ||
143 | |||
144 | GreaterThanSign : '>'; | ||
145 | |||
146 | LeftSquareBracket : '['; | ||
147 | |||
148 | RightSquareBracket : ']'; | ||
149 | |||
150 | CircumflexAccent : '^'; | ||
151 | |||
152 | LeftCurlyBracket : '{'; | ||
153 | |||
154 | VerticalLine : '|'; | ||
155 | |||
156 | RightCurlyBracket : '}'; | ||
157 | |||
158 | RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; | ||
159 | |||
160 | RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; | ||
161 | |||
162 | RULE_SL_COMMENT : ('%'|'//') ~(('\n'|'\r'))* ('\r'? '\n')?; | ||
163 | |||
164 | fragment RULE_TRANSITIVE_CLOSURE : ; | ||
165 | |||
166 | fragment RULE_REFLEXIVE_TRANSITIVE_CLOSURE : ; | ||
167 | |||
168 | fragment RULE_FULL_STOP : ; | ||
169 | |||
170 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; | ||
171 | |||
172 | RULE_INT : ('0'..'9')+; | ||
173 | |||
174 | RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; | ||
175 | |||
176 | RULE_WS : (' '|'\t'|'\r'|'\n')+; | ||
177 | |||
178 | RULE_ANY_OTHER : .; | ||