Lines Matching defs:string

718       String string = token.name;
750 String string = token.name;
789 String string = token.name;
796 else if (!RepositoryID.hasValidForm (string)) // <d57110>
798 ParseException.badRepIDForm (scanner, string);
802 entry.repositoryID (new RepositoryID (string));
814 String string = token.name;
816 ((IDLID)parser.repIDStack.peek ()).prefix (string);
843 String string = token.name;
846 ((IDLID)entry.repositoryID ()).version (string);
892 SymtabEntry getEntryForName (String string)
898 if (string.startsWith ("::"))
901 string = string.substring (2);
903 int index = string.indexOf ("::");
907 string = string.substring (0, index) + '/' + string.substring (index + 2);
908 index = string.indexOf ("::");
911 // Get the entry for that string
914 entry = parser.recursiveQualifiedEntry (string);
916 entry = parser.recursivePQEntry (string, parser.currentModule);
918 entry = parser.unqualifiedEntryWMod (string, parser.currentModule);
923 * This method returns a string of all of the characters from the
933 * This method returns a string of all of the characters from the
1059 * and position information with the given message string.
1084 // of this string.
1190 private String replaceAll (String string, String from, String to)
1195 index = string.indexOf (from, index);
1198 if (!embedded (string, index, index + from.length ()))
1199 if (index > 0 && string.charAt(index) == '#')
1200 string = string.substring (0, index) + '"' + to + '"' + string.substring (index + from.length ());
1202 string = string.substring (0, index) + to + string.substring (index + from.length ());
1206 return string;
1212 private boolean embedded (String string, int index, int endIndex)
1217 char preCh = index == 0 ? ' ' : string.charAt (index - 1);
1218 char postCh = endIndex >= string.length () - 1 ? ' ' : string.charAt (endIndex);
1224 ret = inQuotes (string, index);
1231 private boolean inQuotes (String string, int index)
1235 if (string.charAt (i) == '"') ++quoteCount;
1244 private String removeDoublePound (String string)
1249 index = string.indexOf ("##", index);
1256 if (stopSkip >= string.length ())
1257 stopSkip = string.length () - 1;
1259 (string.charAt (startSkip) == ' ' ||
1260 string.charAt (startSkip) == '\t'))
1262 while (stopSkip < string.length () - 1 &&
1263 (string.charAt (stopSkip) == ' ' ||
1264 string.charAt (stopSkip) == '\t'))
1266 string = string.substring (0, startSkip + 1) + string.substring (stopSkip);
1269 return string;
1316 // If the token is a defined thingy, scan the defined string
1320 String string = (String)symbols.get (token.name);
1321 if (string != null && !string.equals (""))
1325 scanner.scanString (expandMacro (string, token));
1331 scanner.scanString (string);