/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTermFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTermFrameClause(); parseEOL(cl); f.addClause(cl); } }
/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTypedefFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTypedefFrameClause(); parseEOL(cl); f.addClause(cl); } }
/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTermFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTermFrameClause(); parseEOL(cl); f.addClause(cl); } }
/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTypedefFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTypedefFrameClause(); parseEOL(cl); f.addClause(cl); } }
/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTermFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTermFrameClause(); parseEOL(cl); f.addClause(cl); } }
/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTypedefFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTypedefFrameClause(); parseEOL(cl); f.addClause(cl); } }
/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTermFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTermFrameClause(); parseEOL(cl); f.addClause(cl); } }
/** * @param f f * @throws OBOFormatParserException parser exception */ protected void parseTypedefFrameClauseEOL(Frame f) { // comment line: if (stream.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = parseTypedefFrameClause(); parseEOL(cl); f.addClause(cl); } }
protected void parseIdLine(Frame f) { String t = getParseTag(); OboFormatTag tag = OBOFormatConstants.getTag(t); if (tag != OboFormatTag.TAG_ID) { error("Expected id tag as first line in frame, but was: " + tag); } Clause cl = new Clause(t); f.addClause(cl); String id = getParseUntil(" !{"); if (id.isEmpty()) { error("Could not find an valid id, id is empty."); } cl.addValue(id); f.setId(id); parseEOL(cl); }
protected void parseIdLine(Frame f) { String t = getParseTag(); OboFormatTag tag = OBOFormatConstants.getTag(t); if (tag != OboFormatTag.TAG_ID) { error("Expected id tag as first line in frame, but was: " + tag); } Clause cl = new Clause(t); f.addClause(cl); String id = getParseUntil(" !{"); if (id.isEmpty()) { error("Could not find an valid id, id is empty."); } cl.addValue(id); f.setId(id); parseEOL(cl); }
/** * @param f * @throws OBOFormatParserException */ protected void parseTermFrameClauseEOL(Frame f) throws OBOFormatParserException { // comment line: if (s.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = new Clause(); parseTermFrameClause(cl); parseEOL(cl); f.addClause(cl); } }
/** * @param f * @throws OBOFormatParserException */ protected void parseTypedefFrameClauseEOL(Frame f) throws OBOFormatParserException { // comment line: if (s.peekCharIs('!')) { parseHiddenComment(); forceParseNlOrEof(); } else { Clause cl = new Clause(); parseTypedefFrameClause(cl); parseEOL(cl); f.addClause(cl); } }
protected void parseIdLine(Frame f) { String t = getParseTag(); OboFormatTag tag = OBOFormatConstants.getTag(t); if (tag != OboFormatTag.TAG_ID) { error("Expected id tag as first line in frame, but was: " + tag); } Clause cl = new Clause(t); f.addClause(cl); String id = getParseUntil(" !{"); if (id.isEmpty()) { error("Could not find an valid id, id is empty."); } cl.addValue(id); f.setId(id); parseEOL(cl); }
protected void parseIdLine(Frame f) { String t = getParseTag(); OboFormatTag tag = OBOFormatConstants.getTag(t); if (tag != OboFormatTag.TAG_ID) { error("Expected id tag as first line in frame, but was: " + tag); } Clause cl = new Clause(t); f.addClause(cl); String id = getParseUntil(" !{"); if (id.isEmpty()) { error("Could not find an valid id, id is empty."); } cl.addValue(id); f.setId(id); parseEOL(cl); }
protected void parseIdLine(Frame f) throws OBOFormatParserException { String t = getParseTag(); OboFormatTag tag = OBOFormatConstants.getTag(t); if (tag != OboFormatTag.TAG_ID) { error("Expected id tag as first line in frame, but was: "+tag); } Clause cl = new Clause(); cl.setTag(t); f.addClause(cl); String id = getParseUntil(" !{"); if (id == null || id.length() == 0) { error("Could not find an valid id, id is empty."); } cl.addValue(id); f.setId(id); parseEOL(cl); }