diff options
author | 2020-04-08 20:28:03 +0200 | |
---|---|---|
committer | 2020-04-08 20:28:03 +0200 | |
commit | eec379f386d4a67b3fd49a1811f4e890fdbb58d9 (patch) | |
tree | 075a08a1ef243f0f8004198c49aeac7c4d2154ca /Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexer.xtend | |
parent | fixing index out ot bound exceptions for state coders (diff) | |
download | VIATRA-Generator-eec379f386d4a67b3fd49a1811f4e890fdbb58d9.tar.gz VIATRA-Generator-eec379f386d4a67b3fd49a1811f4e890fdbb58d9.tar.zst VIATRA-Generator-eec379f386d4a67b3fd49a1811f4e890fdbb58d9.zip |
Primitive object indexing update
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexer.xtend')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexer.xtend | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexer.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexer.xtend index d1d57189..41eb75a8 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexer.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexer.xtend | |||
@@ -48,5 +48,7 @@ abstract class TypeIndexer { | |||
48 | public def dispatch CharSequence referPrimitiveValue(String variableName, String value) { | 48 | public def dispatch CharSequence referPrimitiveValue(String variableName, String value) { |
49 | '''StringElement.value(«variableName»,"«value»");''' | 49 | '''StringElement.value(«variableName»,"«value»");''' |
50 | } | 50 | } |
51 | 51 | public def CharSequence referPrimitiveFilled(String variableName, boolean isFilled) { | |
52 | '''PrimitiveElement.valueSet(«variableName»,«isFilled»);''' | ||
53 | } | ||
52 | } \ No newline at end of file | 54 | } \ No newline at end of file |