void parse() throws IOException, DefParserException {
        root = new InnerCNode(name);
        normalizedDefinition = new NormalizedDefinition();

        String s;
        List<String> originalInput = new ArrayList<>();
        while ((s = reader.readLine()) != null) {
            originalInput.add(s);
        }
        reader.close();


        // Parse and build tree of the original input
        parseLines(root, originalInput, normalizedDefinition);
        root.setMd5(normalizedDefinition.generateMd5Sum());
    }
Parses the input from the reader and builds a tree of CNodes representing the .def file.

@throws IOException upon reader errors.
@throws DefParserException upon parsing errors.
configgen/src/main/java/com/yahoo/config/codegen/DefParser.java