private SchemaInfo CreateSchemaInfo(SchemaDeclaration schemaDeclaration) { var schemaInfo = new SchemaInfo(schemaDeclaration.Name); symbols_.Add(schemaDeclaration, schemaInfo); return(schemaInfo); }
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); }
public override void VisitSchemaDeclaration(SchemaDeclaration schemaDeclaration) { PushScope(CurrentScope.CreateChildScope(schemaDeclaration)); var schemaInfo = CreateSchemaInfo(schemaDeclaration); PushDeclaringSymbol(schemaInfo); base.VisitSchemaDeclaration(schemaDeclaration); PopDeclaringSymbol(); PopScope(); }
public SchemaInfo GetSchemaInfo(SchemaDeclaration schemaDeclaration) { return(symbolTable_.GetSymbolInfo(schemaDeclaration) as SchemaInfo); }
public virtual void VisitSchemaDeclaration(SchemaDeclaration schemaDeclaration) { DefaultVisit(schemaDeclaration); }