view src/plparser/BooleanProperty.java @ 14:1baccfe55597 default tip

pp fix
author one
date Fri, 03 Sep 2010 08:21:53 +0900
parents 563bcb96e4fa
children
line wrap: on
line source

package plparser;

import java.io.PrintStream;

public class BooleanProperty extends Property {
	boolean b;
	
	public BooleanProperty(TokenID id) {
		b = id==TokenID.True;
	}

	public String toString() {
		return b?"True":"False";
	}
	
	public void pp(PrintStream out, int indent,int flag) {
		indent(out, indent,flag);
		out.print(toString());
	}
	
}