Package cruise.umple.compiler
Class Scope
java.lang.Object
- All Implemented Interfaces:
CodeGenerator
,CodeTranslator
public class Scope extends UmpleGenerator
Local variables
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringBuilder
acceptedCode
boolean
acceptedFailed
java.util.HashMap<java.lang.String,java.lang.Integer>
acceptedIterators
double
acceptedRulesSatisfied
java.lang.StringBuilder
candidateCode
boolean
candidateFailed
java.util.HashMap<java.lang.String,java.lang.Integer>
candidateIterators
double
candidateRulesSatisfied
int
id
boolean
isOptional
java.util.HashMap<java.lang.String,java.lang.Object>
state
Fields inherited from class cruise.umple.compiler.SuperCodeGenerator
ConstraintLookupMap, TraceLookupMap, UmpleToPrimitiveMap
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
delete()
Methods inherited from class cruise.umple.compiler.UmpleGenerator
generate, getCode, getLanguageFor, initializeLangaugeBasedVariables, isNullable, nameOf, pad, pad, pad_l, pad_r, prepare, relatedTranslate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, translate, typeOf
Methods inherited from class cruise.umple.compiler.SuperCodeGenerator
getConstraintWithinConstructor, getDontDisplayNextAccessor, getModel, getOutput, getParameterConstraintName, getType, isConstraintWithinConstructor, isDontDisplayNextAccessor, postpare, prepareConstraint, prepareConstraints, setConstraintWithinConstructor, setDontDisplayNextAccessor, setModel, setOutput, setParameterConstraintName, toString, translate, umpleCVarToLanguagePrimitive
Methods inherited from class cruise.umple.compiler.CodeGeneratorWithSubptions
addSuboption, getSuboption, getSuboptions, getSuboptionValue, hasSuboption, hasSuboptions, indexOfSuboption, numberOfSuboptions, removeSuboption, setSuboption
-
Field Details
-
id
public int id -
candidateRulesSatisfied
public double candidateRulesSatisfied -
candidateCode
public java.lang.StringBuilder candidateCode -
acceptedRulesSatisfied
public double acceptedRulesSatisfied -
acceptedCode
public java.lang.StringBuilder acceptedCode -
state
public java.util.HashMap<java.lang.String,java.lang.Object> state -
isOptional
public boolean isOptional -
candidateFailed
public boolean candidateFailed -
acceptedFailed
public boolean acceptedFailed -
candidateIterators
public java.util.HashMap<java.lang.String,java.lang.Integer> candidateIterators -
acceptedIterators
public java.util.HashMap<java.lang.String,java.lang.Integer> acceptedIterators
-
-
Constructor Details
-
Method Details
-
delete
public void delete()- Overrides:
delete
in classUmpleGenerator
-