mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
2a239ddf47
Add the PipelineDescription object that describes the structure of a pipeline. This will be used by all the downstream users instead of pipeline accessor methods via PipelineC.
45 lines
945 B
C++
45 lines
945 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
/* TUPLE-TREE-YAML
|
|
name: Step
|
|
doc: Data structure representing a Step
|
|
type: struct
|
|
fields:
|
|
- name: Name
|
|
doc: Step's name
|
|
type: string
|
|
- name: Component
|
|
doc: Step's component
|
|
type: string
|
|
optional: true
|
|
- name: Parent
|
|
doc: The Step's parent (if present)
|
|
type: string
|
|
optional: true
|
|
- name: Analyses
|
|
doc: List of Analyses that the Step provides
|
|
sequence:
|
|
type: SortedVector
|
|
elementType: Analysis
|
|
- name: Artifacts
|
|
doc: The artifacts that this step provides
|
|
type: Artifacts
|
|
optional: true
|
|
key:
|
|
- Name
|
|
TUPLE-TREE-YAML */
|
|
|
|
#include "revng/Pipeline/Description/Generated/Early/Step.h"
|
|
|
|
class pipeline::description::Step
|
|
: public pipeline::description::generated::Step {
|
|
public:
|
|
using generated::Step::Step;
|
|
};
|
|
|
|
#include "revng/Pipeline/Description/Generated/Late/Step.h"
|