All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.ide.spl.StepInfo Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20240823
Show newest version
package com.scudata.ide.spl;

import java.util.List;

import com.scudata.cellset.datamodel.PgmCellSet;
import com.scudata.common.CellLocation;
import com.scudata.dm.Context;

/**
 * ???????Ե???Ϣ??
 * 
 * ?????????֣?һ???Ǵ򿪵ĸ???????һ???DZ?call??spl?? ??call??spl??û?д򿪵ģ???????Ҫ?ȴ򿪣??༭???ٱ??档
 *
 */
public class StepInfo {

	public static final byte TYPE_CALL = 0; // call
	public static final byte TYPE_FUNC = 1; // func

	/**
	 * ???͡?TYPE_CALL,TYPE_FUNC
	 */
	public byte type;
	/**
	 * ?ļ?·??
	 */
	public String filePath;
	/**
	 * ??˳???ҳ?б?
	 */
	public List sheets;
	/**
	 * ??????
	 */
	public Context splCtx;
	/**
	 * ??????call??func???????ڵ?????
	 */
	public CellLocation parentLocation;
	/**
	 * func??????
	 */
	public CellLocation funcLocation;
	/**
	 * ??????ʼ?????????
	 */
	public CellLocation exeLocation;
	/**
	 * ?????Ľ?????
	 */
	public int endRow;

	/**
	 * callʹ??
	 */
	// public Call parentCall;

	/**
	 * ???????
	 */
	public PgmCellSet cellSet;

	/**
	 * ???캯??
	 */
	public StepInfo() {
	}

	/**
	 * ???캯??
	 * 
	 * @param sheets ??˳???ҳ?б?
	 */
	public StepInfo(List sheets, byte type) {
		this.sheets = sheets;
		this.type = type;
	}

	/**
	 * ?Ƿ?func????????
	 * 
	 * @return
	 */
	public boolean isFunc() {
		return type == TYPE_FUNC;
	}

	/**
	 * ?Ƿ?call????????
	 * 
	 * @return
	 */
	public boolean isCall() {
		return type == TYPE_CALL;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy