PathExpressionChain extends ExprBase<ExprExecCtxt> { @Override public String toString() { StringBuilder sb = new StringBuilder(40); for (Expression e : chain) { if (sb.length() > 0) sb.append('.'); sb.append(e.toString()); } return sb.toString(); } PathExpressionChain(ParseCtxt ctxt, List<OptionalExpression> exprChain); protected  PathExpressionChain(SyntaxVersion syntaxVersion, OptionalExpression... chain); @Override String toString(); static Expression parse(String exprString); static Expression parse(ParseCtxt ctxt);  }
@Test public void testToString() { assertEquals("child.i", PathExpressionChain.parse("child.i").toString()); }