DIRECTORY CD, Core, Rope, Pipal, PipalCore, PipalSinix, PipalUI, ViewerClasses; PipalExtractOps: CEDAR DEFINITIONS = BEGIN ExtractTopObject: PROC [object: Pipal.Object, mode: PipalSinix.Mode] RETURNS [result: REF, props: Core.Properties]; ExtractTopObjectAndReport: PROC [object: Pipal.Object, mode: PipalSinix.Mode] RETURNS [result: REF _ NIL, props: Core.Properties _ NIL]; ExtractTopObjectToCellTypeAndReport: PROC [object: Pipal.Object, mode: PipalSinix.Mode] RETURNS [root: Core.CellType _ NIL]; IsSchematic: PROC [object: Pipal.Object] RETURNS [BOOL]; GetExtractMode: PROC [object: Pipal.Object] RETURNS [mode: PipalSinix.Mode]; END. PipalExtractOps.mesa Copyright Σ 1987, 1988 by Xerox Corporation. All rights reserved. Barth, October 14, 1987 3:21:10 pm PDT Jean-Marc Frailong December 6, 1987 3:18:30 pm PST Bertrand Serlet April 30, 1988 7:00:14 pm PDT Extraction Conveniences This version of PipalSinix.Extract starts from a top-level object and computes the context. Returned arguments have same meaning as in PipalSinix.Extract. Same as ExtractTopObject but prints errors on terminal. Same as ExtractTopObjectAndReport but also checks that the result is a cell type. Mode Heuristics Uses a heuristic to decide if this object is a schematic. This is obviously a crock but better than requiring the user to specify the mode in each command. Uses IsSchematic to choose between schematic or layout modes. ΚY˜– "Cedar" stylešœ™Icode– "Cedar" style™BKšœ#Οk™&Kšœ/™2Kšœ-™-J˜—š œ˜ Jšœ˜Jšœ'˜'Jšœ˜J˜—JšΟnœœ œ˜*head™šžœœ/œ œ˜sKšœ[™[Kšœ?™?K˜—š žœœ/œ œœœ˜ˆKšœ7™7K˜—šž#œœ/œœ˜|KšœQ™Q——™šž œœœœ˜8K™9K™aK˜—šžœœœ˜LKšœ=™=——Jšœ˜—…—Šρ