Class TCSRuntime
java.lang.Object
org.eclipse.m2m.atl.dsls.tcs.injector.TCSRuntime
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected class
-
Constructor Summary
ConstructorDescriptionTCSRuntime
(ModelAdapter targetModelAdapter, ParserWrapper parserWrapper, List refSettings, Map arguments) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToContext
(Object ame, boolean addToContext) createEnumLiteral
(String name) int
boolean
boolean
isKeepNL()
void
leaveContext
(boolean leave) void
reportError
(Exception re) void
reportError
(String msg) void
reportProblem
(String severity, String msg, Object ame) void
reportProblem
(String severity, String msg, String location) void
reportWarning
(String msg) void
void
setCommentsAfter
(Object ame, Object token) void
setCommentsBefore
(Object ame, Object token) void
setKeepComments
(boolean keepComments) void
setLastWasCreation
(boolean lastWasCreation) void
setLocation
(Object ame, String location) void
setRef
(Object object, String propertyName, String valueTypeName, String keyName, Object keyValue, String lookIn, String autoCreate, String createAs, boolean importContext, String createIn) void
unescapeString
(String s, int delimLength)
-
Constructor Details
-
TCSRuntime
public TCSRuntime(ModelAdapter targetModelAdapter, ParserWrapper parserWrapper, List refSettings, Map arguments)
-
-
Method Details
-
getNbErrors
public int getNbErrors() -
getTargetModelAdapter
- Returns:
- the targetModelAdapter
-
isKeepNL
public boolean isKeepNL() -
createEnumLiteral
-
create
-
leaveContext
public void leaveContext(boolean leave) -
addToContext
-
setLocation
-
setCommentsBefore
-
setCommentsAfter
-
set
-
setRef
-
reportProblem
-
reportProblem
-
reportError
-
reportError
-
reportWarning
-
setToken
-
unescapeString
-
setKeepComments
public void setKeepComments(boolean keepComments) -
isKeepComments
public boolean isKeepComments() -
setLastWasCreation
public void setLastWasCreation(boolean lastWasCreation)
-