Sha256: 3926b6ff4c0045a7e6c49c7a2d9ab52073266e62a059d3503cfa9ccb5df650da

Contents?: true

Size: 685 Bytes

Versions: 135

Compression:

Stored size: 685 Bytes

Contents

/** 
 * Copyright 2005-2007 Xue Yong Zhi
 * Distributed under the BSD License
 */

package com.xruby.compiler.codedom;

public class GlobalVariableExpression extends VariableExpression {
	private final String value_;
	
	public String getValue() {
		return value_.toString();
	}

	public GlobalVariableExpression(String value) {
		value_ = value;
	}

	public void accept(CodeVisitor visitor) {
		visitor.visitGlobalVariableExpression(value_);
	}

	public void acceptAsAssignment(CodeVisitor visitor, boolean rhs_is_method_call, boolean is_multiple_assign) {
		visitor.visitGlobalVariableAssignmentOperator(value_, rhs_is_method_call, is_multiple_assign);
	}
}

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
rhodes-7.6.0 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-7.5.1 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-7.4.1 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-7.1.17 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-6.2.0 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-6.0.11 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.18 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.17 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.15 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.0.22 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.2 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.0.7 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.0.3 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-5.5.0 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
tauplatform-1.0.3 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
tauplatform-1.0.2 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
tauplatform-1.0.1 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-3.5.1.12 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-3.3.5 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java
rhodes-3.4.2 platform/shared/xruby/src/com/xruby/compiler/codedom/GlobalVariableExpression.java