Class PureGroundRuleTransformer
java.lang.Object
org.bigraphs.grgen.converter.TransformerSupport
org.bigraphs.grgen.converter.RuleTransformer
org.bigraphs.grgen.converter.impl.PureGroundRuleTransformer
- All Implemented Interfaces:
BaseTransformer<org.bigraphs.framework.core.reactivesystem.ReactionRule<?>>
A concrete transformer implementation for ground rules that take pure bigraphs as redex and reactum.
A rule is ground if it has no sites and inner names.
- Author:
- Dominik Grzelak
-
Field Summary
Fields inherited from class org.bigraphs.grgen.converter.RuleTransformer
TEMPLATE_COPY_SITE_CONTENTS, TEMPLATE_NAC_NO_SITE_PATTERN, trackingMap
Fields inherited from class org.bigraphs.grgen.converter.TransformerSupport
DEFAULT_WHITESPACE_CHAR, LINE_SEP
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bigraphs.grgen.converter.RuleTransformer
createMap, isPrintNACPattern, printNACPattern, trackIdentityOf, withMap
Methods inherited from class org.bigraphs.grgen.converter.TransformerSupport
assertCorrectClassType, assertPrimeAndGround, closeBlock, closeClassDefinition, closeClassDefinitionWithAttributes, createAbstractEdgeClass, createAbstractNodeClass, createEdge, createEdgeClass, createGraphlet, createNodeClass, createNodeInstance, createNodeInstance, createVarTypeDecl, createVarTypeDeclWithComma, createVarTypeDeclWithComma, extendClass, nodeTypeOf, openRuleModifierBlock, openRuleReplaceBlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bigraphs.grgen.converter.BaseTransformer
createNameSupplier, toOutputStream
-
Constructor Details
-
PureGroundRuleTransformer
public PureGroundRuleTransformer()
-
-
Method Details
-
toString
Description copied from interface:BaseTransformer
Redirects the result of an encoding to a string- Specified by:
toString
in interfaceBaseTransformer<org.bigraphs.framework.core.reactivesystem.ReactionRule<?>>
- Specified by:
toString
in classRuleTransformer
- Parameters:
element
- the bigraph or signature being encoded
-