Sha256: 051fd27a2215147519a11cb59baf268fa9f644c67b5abe861f27ee5d4b58956a

Contents?: true

Size: 754 Bytes

Versions: 135

Compression:

Stored size: 754 Bytes

Contents

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

package com.xruby.compiler.codedom;

import java.util.ArrayList;

public abstract class ExpressionWithExpressionSubstitution extends Expression {
	protected ArrayList<Object> stmts_ = new ArrayList<Object>();

	public void addCompoundStatement(CompoundStatement stmts) {
		stmts_.add(stmts);
	}
	
	public void addGlobalVariable(String s) {
		stmts_.add(new GlobalVariableExpression(s));
	}
	
	public void addInstanceVariable(String s) {
		stmts_.add(new InstanceVariableExpression(s));
	}
	
	public void addClassVariable(String s) {
		stmts_.add(new ClassVariableExpression(s));
	}
	
	public void addString(String s) {
		stmts_.add(s);
	}
}

Version data entries

135 entries across 135 versions & 2 rubygems

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