@Override public void print(final SExpressionType e) throws IOException { e.matchExpression(this.matcher); }
@Override public void print(final SExpressionType e) throws IOException { e.matchExpression(this.matcher); }
private static SExpressionListType requireList(final SExpressionType e) throws JPRACompilerParseException { return e.matchExpression( new SExpressionMatcherType<SExpressionListType, JPRACompilerParseException>() { @Override public SExpressionListType list(final SExpressionListType le) throws JPRACompilerParseException { return le; } @Override public SExpressionListType quotedString( final SExpressionQuotedStringType qe) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedListGotQuotedString(qe); } @Override public SExpressionListType symbol(final SExpressionSymbolType se) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedListGotSymbol(se); } }); }
private static SExpressionListType requireList(final SExpressionType e) throws JPRACompilerParseException { return e.matchExpression( new SExpressionMatcherType<SExpressionListType, JPRACompilerParseException>() { @Override public SExpressionListType list(final SExpressionListType le) throws JPRACompilerParseException { return le; } @Override public SExpressionListType quotedString( final SExpressionQuotedStringType qe) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedListGotQuotedString(qe); } @Override public SExpressionListType symbol(final SExpressionSymbolType se) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedListGotSymbol(se); } }); }
private static SExpressionSymbolType requireSymbol( final SExpressionType e) throws JPRACompilerParseException { return e.matchExpression( new SExpressionMatcherType<SExpressionSymbolType, JPRACompilerParseException>() { @Override public SExpressionSymbolType list(final SExpressionListType le) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedSymbolGotList(le); } @Override public SExpressionSymbolType quotedString( final SExpressionQuotedStringType qe) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedSymbolGotQuotedString(qe); } @Override public SExpressionSymbolType symbol(final SExpressionSymbolType se) throws JPRACompilerParseException { return se; } }); }
private static SExpressionSymbolType requireSymbol( final SExpressionType e) throws JPRACompilerParseException { return e.matchExpression( new SExpressionMatcherType<SExpressionSymbolType, JPRACompilerParseException>() { @Override public SExpressionSymbolType list(final SExpressionListType le) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedSymbolGotList(le); } @Override public SExpressionSymbolType quotedString( final SExpressionQuotedStringType qe) throws JPRACompilerParseException { throw JPRACompilerParseException.expectedSymbolGotQuotedString(qe); } @Override public SExpressionSymbolType symbol(final SExpressionSymbolType se) throws JPRACompilerParseException { return se; } }); }
throws JPRACompilerParseException return e.matchExpression( new SExpressionMatcherType<SizeExprType<Unresolved, Untyped>, JPRACompilerParseException>()
throws IOException e.matchExpression( new SExpressionMatcherType<Integer, IOException>()
final SExpressionType e) return e.matchExpression( new SExpressionMatcherType< Validation<List<JSXValidationErrorType>,
throws IOException e.matchExpression( new SExpressionMatcherType<Integer, IOException>()
anyList(final SExpressionType e) return e.matchExpression( new SExpressionMatcherType< Validation<List<JSXValidationErrorType>,
anyQuotedString(final SExpressionType e) return e.matchExpression( new SExpressionMatcherType< Validation<List<JSXValidationErrorType>,
throws JPRACompilerParseException return e.matchExpression( new SExpressionMatcherType<SizeExprType<Unresolved, Untyped>, JPRACompilerParseException>()
return expr.matchExpression( new SExpressionMatcherType<TypeExprType<Unresolved, Untyped>, JPRACompilerParseException>()
return expr.matchExpression( new SExpressionMatcherType<TypeExprType<Unresolved, Untyped>, JPRACompilerParseException>()
throws JPRACompilerParseException return f_expr.matchExpression( new SExpressionMatcherType<ImmutableList<FieldName>, JPRACompilerParseException>()
throws JPRACompilerParseException return f_expr.matchExpression( new SExpressionMatcherType<ImmutableList<FieldName>, JPRACompilerParseException>()
for (int index = 0; index < size; ++index) { final SExpressionType current = e.get(index); current.matchExpression(this); if (index + 1 < size) { x.brk(1, indent);
current.matchExpression(this); if (index + 1 < size) { x.brk();