コード例 #1
0
        public override void VisitProcedureDeclaration(ProcedureDeclaration procedureDeclaration)
        {
            PushScope(CurrentScope.CreateChildScope(procedureDeclaration));

            base.VisitProcedureDeclaration(procedureDeclaration);

            PopScope();
        }
コード例 #2
0
        public override void VisitTypeDeclaration(TypeDeclaration typeDeclaration)
        {
            Debug.WriteLine("Begin TypeDeclaration " + typeDeclaration.Name);

            PushScope(CurrentScope.CreateChildScope(typeDeclaration));

            base.VisitTypeDeclaration(typeDeclaration);

            PopScope();

            Debug.WriteLine("End TypeDeclaration " + typeDeclaration.Name);
        }
コード例 #3
0
        public override void VisitSchemaDeclaration(SchemaDeclaration schemaDeclaration)
        {
            Debug.WriteLine("Begin SchemaDeclaration " + schemaDeclaration.Name);

            scopes_.Push(CurrentScope.CreateChildScope(schemaDeclaration));

            base.VisitSchemaDeclaration(schemaDeclaration);

            scopes_.Pop();

            Debug.WriteLine("End SchemaDeclaration " + schemaDeclaration.Name);
        }