Package com.regnosys.rosetta.utils
Class ImplicitVariableUtil
java.lang.Object
com.regnosys.rosetta.utils.ImplicitVariableUtil
A tool for finding information about implicit variables, often called
`this`, `item`, `it`, ...
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.eclipse.emf.ecore.EObject>findContainerDefiningImplicitVariable(org.eclipse.emf.ecore.EObject context) Find the enclosing object that defines the implicit variable in the given expression.booleanimplicitVariableExistsInContext(org.eclipse.emf.ecore.EObject context) Indicates whether an implicit variable exists in the given context.
-
Constructor Details
-
ImplicitVariableUtil
public ImplicitVariableUtil()
-
-
Method Details
-
getDefaultImplicitVariable
-
findContainerDefiningImplicitVariable
public Optional<org.eclipse.emf.ecore.EObject> findContainerDefiningImplicitVariable(org.eclipse.emf.ecore.EObject context) Find the enclosing object that defines the implicit variable in the given expression. -
implicitVariableExistsInContext
public boolean implicitVariableExistsInContext(org.eclipse.emf.ecore.EObject context) Indicates whether an implicit variable exists in the given context.
-