Beispiel #1
0
        public void Process(ICatchVariableDeclaration catchVariableDeclaration)
        {
            if (IsValid() == false)
            {
                return;
            }

            if (catchVariableDeclaration == null)
            {
                return;
            }

            Logger.Assert(_catchClauseModelsStack.Count > 0, "[Exceptional] There is no catch clause for catch variable declaration.");

            var catchClause = _catchClauseModelsStack.Peek();

            catchClause.Variable = new CatchVariableModel(AnalyzeUnit, catchVariableDeclaration);
        }
Beispiel #2
0
 public void Process(ICatchVariableDeclaration catchVariableDeclaration)
 {
 }