📄 expr.java
字号:
protected java.util.Map isDUbefore_Variable_visited; // Declared in DefiniteAssignment.jrag at line 694 @SuppressWarnings({"unchecked", "cast"}) public boolean isDUbefore(Variable v) { Object _parameters = v;if(isDUbefore_Variable_visited == null) isDUbefore_Variable_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(isDUbefore_Variable_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: isDUbefore in class: "); isDUbefore_Variable_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); boolean isDUbefore_Variable_value = getParent().Define_boolean_isDUbefore(this, null, v); isDUbefore_Variable_visited.remove(_parameters); return isDUbefore_Variable_value; } protected java.util.Map lookupMethod_String_visited; // Declared in LookupMethod.jrag at line 23 @SuppressWarnings({"unchecked", "cast"}) public Collection lookupMethod(String name) { Object _parameters = name;if(lookupMethod_String_visited == null) lookupMethod_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lookupMethod_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lookupMethod in class: "); lookupMethod_String_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); Collection lookupMethod_String_value = getParent().Define_Collection_lookupMethod(this, null, name); lookupMethod_String_visited.remove(_parameters); return lookupMethod_String_value; } protected int typeBoolean_visited = -1; // Declared in LookupType.jrag at line 49 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeBoolean() { if(typeBoolean_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeBoolean in class: "); typeBoolean_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeBoolean_value = getParent().Define_TypeDecl_typeBoolean(this, null); typeBoolean_visited = -1; return typeBoolean_value; } protected int typeByte_visited = -1; // Declared in LookupType.jrag at line 50 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeByte() { if(typeByte_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeByte in class: "); typeByte_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeByte_value = getParent().Define_TypeDecl_typeByte(this, null); typeByte_visited = -1; return typeByte_value; } protected int typeShort_visited = -1; // Declared in LookupType.jrag at line 51 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeShort() { if(typeShort_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeShort in class: "); typeShort_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeShort_value = getParent().Define_TypeDecl_typeShort(this, null); typeShort_visited = -1; return typeShort_value; } protected int typeChar_visited = -1; // Declared in LookupType.jrag at line 52 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeChar() { if(typeChar_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeChar in class: "); typeChar_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeChar_value = getParent().Define_TypeDecl_typeChar(this, null); typeChar_visited = -1; return typeChar_value; } protected int typeInt_visited = -1; // Declared in LookupType.jrag at line 53 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeInt() { if(typeInt_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeInt in class: "); typeInt_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeInt_value = getParent().Define_TypeDecl_typeInt(this, null); typeInt_visited = -1; return typeInt_value; } protected int typeLong_visited = -1; // Declared in LookupType.jrag at line 54 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeLong() { if(typeLong_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeLong in class: "); typeLong_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeLong_value = getParent().Define_TypeDecl_typeLong(this, null); typeLong_visited = -1; return typeLong_value; } protected int typeFloat_visited = -1; // Declared in LookupType.jrag at line 55 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeFloat() { if(typeFloat_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeFloat in class: "); typeFloat_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeFloat_value = getParent().Define_TypeDecl_typeFloat(this, null); typeFloat_visited = -1; return typeFloat_value; } protected int typeDouble_visited = -1; // Declared in LookupType.jrag at line 56 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeDouble() { if(typeDouble_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeDouble in class: "); typeDouble_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeDouble_value = getParent().Define_TypeDecl_typeDouble(this, null); typeDouble_visited = -1; return typeDouble_value; } protected int typeString_visited = -1; // Declared in LookupType.jrag at line 57 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeString() { if(typeString_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeString in class: "); typeString_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeString_value = getParent().Define_TypeDecl_typeString(this, null); typeString_visited = -1; return typeString_value; } protected int typeVoid_visited = -1; // Declared in LookupType.jrag at line 58 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeVoid() { if(typeVoid_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeVoid in class: "); typeVoid_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeVoid_value = getParent().Define_TypeDecl_typeVoid(this, null); typeVoid_visited = -1; return typeVoid_value; } protected int typeNull_visited = -1; // Declared in LookupType.jrag at line 59 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl typeNull() { if(typeNull_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: typeNull in class: "); typeNull_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl typeNull_value = getParent().Define_TypeDecl_typeNull(this, null); typeNull_visited = -1; return typeNull_value; } protected int unknownType_visited = -1; // Declared in LookupType.jrag at line 72 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl unknownType() { if(unknownType_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: unknownType in class: "); unknownType_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl unknownType_value = getParent().Define_TypeDecl_unknownType(this, null); unknownType_visited = -1; return unknownType_value; } protected java.util.Map hasPackage_String_visited; // Declared in LookupType.jrag at line 86 @SuppressWarnings({"unchecked", "cast"}) public boolean hasPackage(String packageName) { Object _parameters = packageName;if(hasPackage_String_visited == null) hasPackage_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(hasPackage_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: hasPackage in class: "); hasPackage_String_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); boolean hasPackage_String_value = getParent().Define_boolean_hasPackage(this, null, packageName); hasPackage_String_visited.remove(_parameters); return hasPackage_String_value; } protected java.util.Map lookupType_String_String_visited; // Declared in LookupType.jrag at line 95 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl lookupType(String packageName, String typeName) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(packageName); _parameters.add(typeName);if(lookupType_String_String_visited == null) lookupType_String_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lookupType_String_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lookupType in class: "); lookupType_String_String_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl lookupType_String_String_value = getParent().Define_TypeDecl_lookupType(this, null, packageName, typeName); lookupType_String_String_visited.remove(_parameters); return lookupType_String_String_value; } protected java.util.Map lookupType_String_visited; // Declared in LookupType.jrag at line 176 @SuppressWarnings({"unchecked", "cast"}) public SimpleSet lookupType(String name) { Object _parameters = name;if(lookupType_String_visited == null) lookupType_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lookupType_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lookupType in class: "); lookupType_String_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); SimpleSet lookupType_String_value = getParent().Define_SimpleSet_lookupType(this, null, name); lookupType_String_visited.remove(_parameters); return lookupType_String_value; } protected java.util.Map lookupVariable_String_visited; // Declared in LookupVariable.jrag at line 19 @SuppressWarnings({"unchecked", "cast"}) public SimpleSet lookupVariable(String name) { Object _parameters = name;if(lookupVariable_String_visited == null) lookupVariable_String_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lookupVariable_String_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lookupVariable in class: "); lookupVariable_String_visited.put(_parameters, new Integer(boundariesCrossed)); if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); SimpleSet lookupVariable_String_value = getParent().Define_SimpleSet_lookupVariable(this, null, name); lookupVariable_String_visited.remove(_parameters); return lookupVariable_String_value; } protected int nameType_visited = -1; // Declared in SyntacticClassification.jrag at line 20 @SuppressWarnings({"unchecked", "cast"}) public NameType nameType() { if(nameType_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: nameType in class: "); nameType_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); NameType nameType_value = getParent().Define_NameType_nameType(this, null); nameType_visited = -1; return nameType_value; } protected int enclosingBodyDecl_visited = -1; // Declared in TypeAnalysis.jrag at line 512 @SuppressWarnings({"unchecked", "cast"}) public BodyDecl enclosingBodyDecl() { if(enclosingBodyDecl_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: enclosingBodyDecl in class: "); enclosingBodyDecl_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); BodyDecl enclosingBodyDecl_value = getParent().Define_BodyDecl_enclosingBodyDecl(this, null); enclosingBodyDecl_visited = -1; return enclosingBodyDecl_value; } protected int hostPackage_visited = -1; // Declared in TypeAnalysis.jrag at line 569 @SuppressWarnings({"unchecked", "cast"}) public String hostPackage() { if(hostPackage_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: hostPackage in class: "); hostPackage_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); String hostPackage_value = getParent().Define_String_hostPackage(this, null); hostPackage_visited = -1; return hostPackage_value; } protected int hostType_visited = -1; // Declared in TypeAnalysis.jrag at line 584 @SuppressWarnings({"unchecked", "cast"}) public TypeDecl hostType() { if(hostType_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: hostType in class: "); hostType_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); TypeDecl hostType_value = getParent().Define_TypeDecl_hostType(this, null); hostType_visited = -1; return hostType_value; } protected int methodHost_visited = -1; // Declared in TypeHierarchyCheck.jrag at line 11 @SuppressWarnings({"unchecked", "cast"}) public String methodHost() { if(methodHost_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: methodHost in class: "); methodHost_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); String methodHost_value = getParent().Define_String_methodHost(this, null); methodHost_visited = -1; return methodHost_value; } protected int inStaticContext_visited = -1; // Declared in TypeHierarchyCheck.jrag at line 134 @SuppressWarnings({"unchecked", "cast"}) public boolean inStaticContext() { if(inStaticContext_visited == boundariesCrossed) throw new RuntimeException("Circular definition of attr: inStaticContext in class: "); inStaticContext_visited = boundariesCrossed; if(getParent() == null) throw new RuntimeException("Trying to evaluate attribute in subtree not attached to main tree"); boolean inStaticContext_value = getParent().Define_boolean_inStaticContext(this, null); inStaticContext_visited = -1; return inStaticContext_value; }public ASTNode rewriteTo() { return super.rewriteTo();}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -