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

org.jcamp.parser.ASDFParseState Maven / Gradle / Ivy

package org.jcamp.parser;

final class ASDFParseState {
	private int currentLineNumber = 1;
	private int currentIndex = -1;
 	private int currentY = 0;
	private double checkX = 0.0;
	private double checkY = 0;
	public ASDFParseState() {
	}
	public double getCheckX() { 
		return this.checkX; 
	}
	public double getCheckY() { 
		return this.checkY; 
	}
	public int getCurrentIndex() { 
		return this.currentIndex; 
	}
	public int getCurrentLineNumber() { 
		return this.currentLineNumber; 
	}
	public int getCurrentY() { 
		return this.currentY; 
	}
	void incrCurrentIndex() {
		currentIndex ++;
	}
	void incrCurrentIndex(int incr) {
		currentIndex += incr;	
	}
	void incrCurrentLineNumber() {
		currentLineNumber ++;
	}
	void setCheckX(double x) 
	{
		this.checkX = x;
	}
	void setCheckY(double y) 
	{
		this.checkY = y;
	}
	public void setCurrentIndex(int index) { 
		this.currentIndex = index; 	
	}
	public void setCurrentY(int y) 
	{ 
		this.currentY = y; 	
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy