test_class.file: storage/smiles/src/test/java/org/openscience/cdk/smiles/CxSmilesParserTest.java
test_class.identifier: CxSmilesParserTest
test_case.body: @Test public void unescape() {
          assertThat(CxSmilesParser.unescape("&#36;"), is("$"));
          assertThat(CxSmilesParser.unescape("&#127;"), is("\u007F")); // DEL
          assertThat(CxSmilesParser.unescape("&#9;"), is("\t")); // TAB
      }
test_case.class_method_signature: CxSmilesParserTest.unescape()
test_case.full_signature: @Test public void unescape()
test_case.identifier: unescape
test_case.invocations: assertThat unescape is assertThat unescape is assertThat unescape is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void unescape()
focal_class.declarator: COMMA_SEPARATOR = ','
focal_class.modifier: private static final
focal_class.original_string: private static final char COMMA_SEPARATOR = ',';
focal_class.type: char
focal_class.var_name: COMMA_SEPARATOR
focal_class.declarator: DOT_SEPARATOR   = '.'
focal_class.modifier: private static final
focal_class.original_string: private static final char DOT_SEPARATOR   = '.';
focal_class.type: char
focal_class.var_name: DOT_SEPARATOR
focal_class.file: storage/smiles/src/main/java/org/openscience/cdk/smiles/CxSmilesParser.java
focal_class.identifier: CxSmilesParser
focal_class.class_method_signature: CxSmilesParser.CxSmilesParser()
focal_class.full_signature: private  CxSmilesParser()
focal_class.identifier: CxSmilesParser
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  CxSmilesParser()
focal_class.class_method_signature: CxSmilesParser.processAtomLabels(final CharIter iter, final Map<Integer, String> dest)
focal_class.full_signature: private static boolean processAtomLabels(final CharIter iter, final Map<Integer, String> dest)
focal_class.identifier: processAtomLabels
focal_class.modifiers: private static
focal_class.parameters: (final CharIter iter, final Map<Integer, String> dest)
focal_class.return: boolean
focal_class.signature: boolean processAtomLabels(final CharIter iter, final Map<Integer, String> dest)
focal_class.class_method_signature: CxSmilesParser.readDouble(CharIter iter)
focal_class.full_signature: private static double readDouble(CharIter iter)
focal_class.identifier: readDouble
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter)
focal_class.return: double
focal_class.signature: double readDouble(CharIter iter)
focal_class.class_method_signature: CxSmilesParser.processCoords(CharIter iter, CxSmilesState state)
focal_class.full_signature: private static boolean processCoords(CharIter iter, CxSmilesState state)
focal_class.identifier: processCoords
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processCoords(CharIter iter, CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.processFragmentGrouping(final CharIter iter, final CxSmilesState state)
focal_class.full_signature: private static boolean processFragmentGrouping(final CharIter iter, final CxSmilesState state)
focal_class.identifier: processFragmentGrouping
focal_class.modifiers: private static
focal_class.parameters: (final CharIter iter, final CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processFragmentGrouping(final CharIter iter, final CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.isSgroupDelim(char c)
focal_class.full_signature: private static boolean isSgroupDelim(char c)
focal_class.identifier: isSgroupDelim
focal_class.modifiers: private static
focal_class.parameters: (char c)
focal_class.return: boolean
focal_class.signature: boolean isSgroupDelim(char c)
focal_class.class_method_signature: CxSmilesParser.processDataSgroups(CharIter iter, CxSmilesState state)
focal_class.full_signature: private static boolean processDataSgroups(CharIter iter, CxSmilesState state)
focal_class.identifier: processDataSgroups
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processDataSgroups(CharIter iter, CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.processPolymerSgroups(CharIter iter, CxSmilesState state)
focal_class.full_signature: private static boolean processPolymerSgroups(CharIter iter, CxSmilesState state)
focal_class.identifier: processPolymerSgroups
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processPolymerSgroups(CharIter iter, CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.processIntListMap(Map<Integer,List<Integer>> map, CharIter iter)
focal_class.full_signature: private static boolean processIntListMap(Map<Integer,List<Integer>> map, CharIter iter)
focal_class.identifier: processIntListMap
focal_class.modifiers: private static
focal_class.parameters: (Map<Integer,List<Integer>> map, CharIter iter)
focal_class.return: boolean
focal_class.signature: boolean processIntListMap(Map<Integer,List<Integer>> map, CharIter iter)
focal_class.class_method_signature: CxSmilesParser.processPositionalVariation(CharIter iter, CxSmilesState state)
focal_class.full_signature: private static boolean processPositionalVariation(CharIter iter, CxSmilesState state)
focal_class.identifier: processPositionalVariation
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processPositionalVariation(CharIter iter, CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.processLigandOrdering(CharIter iter, CxSmilesState state)
focal_class.full_signature: private static boolean processLigandOrdering(CharIter iter, CxSmilesState state)
focal_class.identifier: processLigandOrdering
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processLigandOrdering(CharIter iter, CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.processRadicals(CharIter iter, CxSmilesState state)
focal_class.full_signature: private static boolean processRadicals(CharIter iter, CxSmilesState state)
focal_class.identifier: processRadicals
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processRadicals(CharIter iter, CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.processCx(final String str, final CxSmilesState state)
focal_class.full_signature: static int processCx(final String str, final CxSmilesState state)
focal_class.identifier: processCx
focal_class.modifiers: static
focal_class.parameters: (final String str, final CxSmilesState state)
focal_class.return: int
focal_class.signature: int processCx(final String str, final CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.processSgroupsHierarchy(CharIter iter, CxSmilesState state)
focal_class.full_signature: private static boolean processSgroupsHierarchy(CharIter iter, CxSmilesState state)
focal_class.identifier: processSgroupsHierarchy
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, CxSmilesState state)
focal_class.return: boolean
focal_class.signature: boolean processSgroupsHierarchy(CharIter iter, CxSmilesState state)
focal_class.class_method_signature: CxSmilesParser.isDigit(char c)
focal_class.full_signature: private static boolean isDigit(char c)
focal_class.identifier: isDigit
focal_class.modifiers: private static
focal_class.parameters: (char c)
focal_class.return: boolean
focal_class.signature: boolean isDigit(char c)
focal_class.class_method_signature: CxSmilesParser.skipIntList(CharIter iter, char sep)
focal_class.full_signature: private static boolean skipIntList(CharIter iter, char sep)
focal_class.identifier: skipIntList
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, char sep)
focal_class.return: boolean
focal_class.signature: boolean skipIntList(CharIter iter, char sep)
focal_class.class_method_signature: CxSmilesParser.skipIntMap(CharIter iter)
focal_class.full_signature: private static boolean skipIntMap(CharIter iter)
focal_class.identifier: skipIntMap
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter)
focal_class.return: boolean
focal_class.signature: boolean skipIntMap(CharIter iter)
focal_class.class_method_signature: CxSmilesParser.processUnsignedInt(CharIter iter)
focal_class.full_signature: private static int processUnsignedInt(CharIter iter)
focal_class.identifier: processUnsignedInt
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter)
focal_class.return: int
focal_class.signature: int processUnsignedInt(CharIter iter)
focal_class.class_method_signature: CxSmilesParser.processIntList(CharIter iter, char sep, List<Integer> dest)
focal_class.full_signature: private static boolean processIntList(CharIter iter, char sep, List<Integer> dest)
focal_class.identifier: processIntList
focal_class.modifiers: private static
focal_class.parameters: (CharIter iter, char sep, List<Integer> dest)
focal_class.return: boolean
focal_class.signature: boolean processIntList(CharIter iter, char sep, List<Integer> dest)
focal_class.class_method_signature: CxSmilesParser.unescape(String str)
focal_class.full_signature: static String unescape(String str)
focal_class.identifier: unescape
focal_class.modifiers: static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String unescape(String str)
focal_method.body: static String unescape(String str) {
          int dst = 0;
          int src = 0;
          char[] chars = str.toCharArray();
          int len = chars.length;
          while (src < chars.length) {
              // match the pattern &#[0-9][0-9]*;
              if (src + 3 < len && chars[src] == '&' && chars[src+1] == '#' && isDigit(chars[src+2])) {
                  int tmp  = src+2;
                  int code = 0;
                  while (tmp < len && isDigit(chars[tmp])) {
                      code *= 10;
                      code += chars[tmp] - '0';
                      tmp++;
                  }
                  if (tmp < len && chars[tmp] == ';') {
                      src = tmp+1;
                      chars[dst++] = (char) code;
                      continue;
                  }
              }
              chars[dst++] = chars[src++];
          }
          return new String(chars, 0, dst);
      }
focal_method.class_method_signature: CxSmilesParser.unescape(String str)
focal_method.full_signature: static String unescape(String str)
focal_method.identifier: unescape
focal_method.invocations: toCharArray isDigit isDigit
focal_method.modifiers: static
focal_method.parameters: (String str)
focal_method.return: String
focal_method.signature: String unescape(String str)