Lines Matching refs:ch

270       char ch = text.charAt(nextChar++);
271 switch (ch) {
278 default: buf.append(ch); break;
372 char ch = text.charAt(index);
373 if ((ch != '.') && !isDomainChar(ch)) {
390 char ch = text.charAt(index + 1);
391 if (Character.isDigit(ch)) {
409 char ch = text.charAt(index);
410 if (ch == '?') {
421 } else if (isPunctuation(ch)) {
423 } else if (Character.isWhitespace(ch)) {
425 } else if ((ch == '/') || (ch == '#')) {
504 char ch = text.charAt(index);
505 Character key = Character.valueOf(ch);
509 addToken(new Format(ch, false));
519 start = new Format(ch, true);
580 char ch = text.charAt(index);
581 if (Character.isWhitespace(ch)) {
583 } else if (Character.isLetter(ch)) {
585 } else if (Character.isDigit(ch)) {
587 } else if (isPunctuation(ch)) {
628 private static boolean isPunctuation(char ch) {
629 switch (ch) {
643 private static boolean isFormatChar(char ch) {
644 switch (ch) {
1178 private char ch;
1182 public Format(char ch, boolean start) {
1183 super(Type.FORMAT, String.valueOf(ch));
1184 this.ch = ch;
1196 return start ? getFormatStart(ch) : getFormatEnd(ch);
1199 return (ch == '"') ? """ : String.valueOf(ch);
1210 public boolean controlCaps() { return (ch == '^'); }
1213 private String getFormatStart(char ch) {
1214 switch (ch) {
1219 default: throw new AssertionError("unknown format '" + ch + "'");
1223 private String getFormatEnd(char ch) {
1224 switch (ch) {
1229 default: throw new AssertionError("unknown format '" + ch + "'");
1354 public TrieNode getChild(char ch) {
1355 return children.get(Character.valueOf(ch));
1358 public TrieNode getOrCreateChild(char ch) {
1359 Character key = Character.valueOf(ch);
1362 node = new TrieNode(text + String.valueOf(ch));