public static final Term parseTerm(final String belTermSyntax) {
        if (noLength(belTermSyntax))
            return null;
        CharStream stream = new ANTLRStringStream(belTermSyntax);
        BELStatementLexer lexer = new BELStatementLexer(stream);
        TokenStream tokenStream = new CommonTokenStream(lexer);
        BELStatementParser bsp = new BELStatementParser(tokenStream);
        try {
            return bsp.outer_term().r;
        } catch (RecognitionException e) {
            return null;
        }
    }
public static final Term parseTerm ( final String belTermSyntax ) { if ( noLength ( belTermSyntax ) ) return null ; CharStream stream = new ANTLRStringStream ( belTermSyntax ) ; BELStatementLexer lexer = new BELStatementLexer ( stream ) ; TokenStream tokenStream = new CommonTokenStream ( lexer ) ; BELStatementParser bsp = new BELStatementParser ( tokenStream ) ; try { return bsp . outer_term ( ) . r ; } catch ( RecognitionException e ) { return null ; } }
Parses a {@link Term} from a BEL term {@link String}.  Returns the
{@link Term} if parse succeeded, {@code null} if parse failed.

@param belTermSyntax {@link String}
@return {@link Term} if parse succeeded; {@code null} if parse failed
or {@code belTermSyntax} was empty