Data listeners for type dependency processing
First Claim
1. A method for dependency processing of computer files, the method comprising:
- receiving a data stream input at a scanner component that scans the data stream input to identify data types that are used by program elements in the data stream input, the data stream input representing a plurality of program elements of one or more computer files;
using the scanner component to identify type usages of the program elements, each type usage identifying a usage of a corresponding data type that classifies data structures of the program elements in accordance with a corresponding type definition;
generating a data stream comprising the type definitions and type usages corresponding to the program elements;
providing the data stream comprising the type definitions and type usages as an input to a listening component, wherein the listening component performs one of the listening functions comprising;
filtering the type definition and type usage data by evaluating a filter condition that filters out certain type definitions and type usages to produce a filtered data stream output in which the certain type definitions and type usages have been filtered out,aggregating type usage data for one or more type definitions by collecting the type usages for the data types to produce an aggregated data stream output in which the type usages from multiple occurrences of the data types are combined, orechoing the type definitions and type usages for access by one or more users or processors by identifying a print format associated with the one or more users or processors to produce an echoed data stream output that includes the type definitions and type usages in the print format; and
generating an output from the listening component.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for data listeners for type dependency processing. An embodiment of a method for dependency processing of computer files includes receiving a data stream input at a scanner component, where the data stream input represents program elements of one or more computer files. A data stream of type definitions and type usages is generated, and the data type definitions and data type usages are provided as an input to a listening component. The listening component performs a listening function of filtering the type definition and type usage data, aggregating the type usage data, or echoing the data stream output, and an output is generated from the listening component.
-
Citations
26 Claims
-
1. A method for dependency processing of computer files, the method comprising:
-
receiving a data stream input at a scanner component that scans the data stream input to identify data types that are used by program elements in the data stream input, the data stream input representing a plurality of program elements of one or more computer files; using the scanner component to identify type usages of the program elements, each type usage identifying a usage of a corresponding data type that classifies data structures of the program elements in accordance with a corresponding type definition; generating a data stream comprising the type definitions and type usages corresponding to the program elements; providing the data stream comprising the type definitions and type usages as an input to a listening component, wherein the listening component performs one of the listening functions comprising; filtering the type definition and type usage data by evaluating a filter condition that filters out certain type definitions and type usages to produce a filtered data stream output in which the certain type definitions and type usages have been filtered out, aggregating type usage data for one or more type definitions by collecting the type usages for the data types to produce an aggregated data stream output in which the type usages from multiple occurrences of the data types are combined, or echoing the type definitions and type usages for access by one or more users or processors by identifying a print format associated with the one or more users or processors to produce an echoed data stream output that includes the type definitions and type usages in the print format; and generating an output from the listening component. - View Dependent Claims (2, 3, 4, 5, 6, 20, 23, 24, 25, 26)
-
-
7. A type dependency processing system comprising:
-
one or more processors with memory to perform operations for processor-implemented modules; a data scanning module that is implemented by the one or more processors with memory, the data scanning module to receive a data stream input containing a plurality of program elements and to scan the data stream input to identify data type definitions corresponding to the program elements and usages of the data types by the program elements, the data type definitions classifying data structures of the program elements; and a data listening module that is implemented by the one or more processors with memory, the data listening module to receive the identified data type definitions and data type usages in a data stream from the data scanning module, the data listening module including one of the following; a configurable filter that evaluates a filter condition to filter out certain data type definitions and data type usages to produce a filtered data stream output in which the certain data type definitions and data type usages have been filtered out, an aggregator to aggregate data type usages for one or more data type definitions by collecting the data type usages for the data types to produce an aggregated data stream output in which the data type usages from multiple occurrences of the data types are combined, or an echo mechanism to echo the data type definitions and data type usages for access by one or more users or processors by identifying a print format associated with the one or more users or processors to produce a echoed data stream output that includes the data type definitions and data type usages in the print format. - View Dependent Claims (8, 9, 10, 11, 12, 13, 21)
-
-
14. An article of manufacture comprising a non-transitory computer-readable medium including instructions that, when accessed by a processor, cause the computer to perform operations comprising:
-
receiving a data stream input at a scanner component that scans the data stream input to identify data types that are used by program elements in the data stream input, the data stream input representing a plurality of program elements of one or more computer files; using the scanner component to identify type usages of the program elements, each type usage identifying a usage of a corresponding data type that classifies data structures of the program elements in accordance with a corresponding type definition; generating a data stream comprising the type definitions and type usages corresponding to the program elements; providing the data stream comprising the type definitions and type usages as an input to a listening component, wherein the listening component performs one of the following listening functions; filtering the type definition and type usage data by evaluating a filter condition that filters out certain type definitions and type usages to produce a filtered data stream output in which the certain type definitions and type usages have been filtered out, aggregating type usage data for one or more type definitions by collecting the type usages for the data types to produce an aggregated data stream output in which the type usages from multiple occurrences of the data types are combined, or echoing the type definitions and type usages for access by one or more users or processors by identifying a print format associated with the one or more users or processors to produce an echoed data stream output that includes the type definitions and type usages in the print format; and generating an output from the listening component. - View Dependent Claims (15, 16, 17, 18, 19, 22)
-
Specification