public Rule charLiteral() {
		return Sequence(
				Sequence(
						Ch('\''),
						FirstOf(
								Sequence(escapedSequence(), Ch('\'')),
								Sequence(
										ZeroOrMore(Sequence(TestNot(
												FirstOf(Ch('\''), group.basics.lineTerminator())), Any())),
										Ch('\'')),
								Any())),
				set(actions.createCharLiteral(lastText())),
				group.basics.optWS());
	}
public Rule charLiteral ( ) { return Sequence ( Sequence ( Ch ( '\'' ) , FirstOf ( Sequence ( escapedSequence ( ) , Ch ( '\'' ) ) , Sequence ( ZeroOrMore ( Sequence ( TestNot ( FirstOf ( Ch ( '\'' ) , group . basics . lineTerminator ( ) ) ) , Any ( ) ) ) , Ch ( '\'' ) ) , Any ( ) ) ) , set ( actions . createCharLiteral ( lastText ( ) ) ) , group . basics . optWS ( ) ) ; }
@see <a href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.10.4">JLS section 3.10.4</a>