public virtual void VisitCatchDeclaration(CatchDeclarationSyntax node)
 {
     DefaultVisit(node);
 }
Beispiel #2
0
        public static CatchDeclarationSyntax CatchDeclaration(string type = null, string identifier = null)
        {
            var result = new CatchDeclarationSyntax();

            if (type != null)
                result.Type = ParseName(type);
            result.Identifier = identifier;

            return result;
        }
Beispiel #3
0
        public static CatchClauseSyntax CatchClause(CatchDeclarationSyntax declaration = null, BlockSyntax block = null)
        {
            var result = new CatchClauseSyntax();

            result.Declaration = declaration;
            result.Block = block;

            return result;
        }
Beispiel #4
0
        public static CatchDeclarationSyntax CatchDeclaration(TypeSyntax type = null, string identifier = null)
        {
            var result = new CatchDeclarationSyntax();

            result.Type = type;
            result.Identifier = identifier;

            return result;
        }
Beispiel #5
0
 public virtual void VisitCatchDeclaration(CatchDeclarationSyntax node)
 {
     DefaultVisit(node);
 }