diff options
author | Juerg Billeter <j@bitron.ch> | 2007-07-13 09:27:38 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2007-07-13 09:27:38 +0000 |
commit | 83363b2b4661a88a2cd703003341438dfceba869 (patch) | |
tree | 33de93210b6151a1380ba800cb5ac09982d4df1c /vala/valacodevisitor.vala | |
parent | 0d360653213a4c83506d7ec7764a7d59b21b4c4e (diff) | |
download | vala-83363b2b4661a88a2cd703003341438dfceba869.tar.gz |
move iteration of throw statements, try statements, and catch clauses from
2007-07-13 Juerg Billeter <j@bitron.ch>
* vala/valacatchclause.vala, vala/valacodevisitor.vala,
vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
vala/valathrowstatement.vala, vala/valatrystatement.vala,
gobject/valacodegenerator.vala: move iteration of throw statements,
try statements, and catch clauses from accept to accept_children
method, fixes nested try statements
* gobject/valacodegenerator.vala: clear unhandled error instead of
returning from the current function
* vala/valasemanticanalyzer.vala: generic pointer is compatible with
generic pointer
* vapi/glib-2.0.vala: add some more default values
svn path=/trunk/; revision=354
Diffstat (limited to 'vala/valacodevisitor.vala')
-rw-r--r-- | vala/valacodevisitor.vala | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/vala/valacodevisitor.vala b/vala/valacodevisitor.vala index f7589e7dd..b4b702e44 100644 --- a/vala/valacodevisitor.vala +++ b/vala/valacodevisitor.vala @@ -404,54 +404,30 @@ public abstract class Vala.CodeVisitor { } /** - * Visit operation called at beginning of throw statements. + * Visit operation called for throw statements. * * @param stmt a throw statement */ - public virtual void visit_begin_throw_statement (ThrowStatement! stmt) { + public virtual void visit_throw_statement (ThrowStatement! stmt) { } /** - * Visit operation called at end of throw statements. - * - * @param stmt a throw statement - */ - public virtual void visit_end_throw_statement (ThrowStatement! stmt) { - } - - /** - * Visit operation called at beginning of try statements. + * Visit operation called for try statements. * * @param stmt a try statement */ - public virtual void visit_begin_try_statement (TryStatement! stmt) { + public virtual void visit_try_statement (TryStatement! stmt) { } /** - * Visit operation called at end of try statements. - * - * @param stmt a try statement - */ - public virtual void visit_end_try_statement (TryStatement! stmt) { - } - - /** - * Visit operation called at beginning of catch clauses. + * Visit operation called for catch clauses. * * @param clause a catch cluase */ - public virtual void visit_begin_catch_clause (CatchClause! clause) { + public virtual void visit_catch_clause (CatchClause! clause) { } /** - * Visit operation called at end of catch clauses. - * - * @param clause a catch clause - */ - public virtual void visit_end_catch_clause (CatchClause! clause) { - } - - /** * Visit operation called for lock statements before the body has been visited. * * @param stmt a lock statement |