summaryrefslogtreecommitdiff
path: root/src/buildstream/buildelement.py
Commit message (Collapse)AuthorAgeFilesLines
* _yaml: Remove 'node_validate' and replace by 'MappingNode.validate_keys'Benjamin Schubert2019-07-151-1/+1
| | | | - adapt all call sites to use the new API
* _yaml: Introduce 'get_sequence()' and 'sequence_at()'/'mapping_at()'Benjamin Schubert2019-07-151-8/+5
| | | | | | | | | - Adding 'get_sequence' on MappingNode to access sequences in a mapping - Adding 'sequence_at' on SequenceNode to access sequences in a sequence - Adding 'mapping_at' on SequenceNode to access mappings in a sequence Using "*_at" in sequences allows us to quickly understand if we are dealing with a sequence or a mapping.
* Move source from 'buildstream' to 'src/buildstream'Chandan Singh2019-05-211-0/+299
This was discussed in #1008. Fixes #1009.