Class ProcessTreeParser


  • public class ProcessTreeParser
    extends java.lang.Object
    • Constructor Detail

      • ProcessTreeParser

        public ProcessTreeParser()
    • Method Detail

      • parse

        public static Triple<EfficientTree,​java.lang.Integer,​java.lang.String> parse​(java.lang.String string,
                                                                                                 int spacesPerTab)
                                                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseNode

        public static Triple<EfficientTree,​java.lang.Integer,​java.lang.String> parseNode​(ProcessTreeNodiser nodiser)
                                                                                              throws java.io.IOException
        Parse the next node using nodiser.
        Parameters:
        nodiser -
        Returns:
        A triple, in which the first item denotes the parsed tree. If parsing failed, this is null, and the second element contains the line number where parsing failed, and the third element contains an error message.
        Throws:
        java.io.IOException