package node.exprNode.simpleNode; import text.*; public class CharNode extends SimpleNode { char value; public CharNode( char value ) { super(); this.value = value; } public String toString() { return Text.toString( value ); } public boolean match( String s ) { return s.length() == 1 && s.charAt( 0 ) == value; } }