Skip to main content

Module ast

Module ast 

Source
Expand description

Abstract syntax tree for STIX 2.1 patterns. All nodes are serde-serializable.

Structs§

Comparison
A single property test.
ObjectPath
An object path: object-type:first.step[0].next.
Pattern
A complete parsed pattern.

Enums§

ComparisonExpression
Comparison-level expression tree (inside [ ]).
ComparisonOperand
Right-hand side of a comparison: either a single literal or a set (for IN).
ComparisonOperator
The operator of a property test.
Literal
A primitive literal value.
ObservationExpression
Observation-level expression tree. FOLLOWEDBY/AND/OR combine observations; qualifiers attach to a sub-expression.
PathStep
One step in an ObjectPath.
Qualifier
Postfix qualifier on an observation expression.