Implement support for brackets in filter expressions
[lttng-tools.git] / src / lib / lttng-ctl / filter / filter-ast.h
index 73d8d44e6a189bfc72550af99776d84d5711a1dd..067624906d7ad5cd1fa8cc382c095dcd7e1f5387 100644 (file)
@@ -95,6 +95,7 @@ enum ast_link_type {
        AST_LINK_UNKNOWN = 0,
        AST_LINK_DOT,
        AST_LINK_RARROW,
+       AST_LINK_BRACKET,
 };
 
 struct filter_node {
@@ -133,8 +134,9 @@ struct filter_node {
                                 */
                                struct filter_node *child;
                        } u;
-                       /* linked dot/arrow chain */
+                       /* prev: linked dot/arrow chain (postfix expression) */
                        struct filter_node *prev;
+                       /* next: linked bracket chain (prefix expression) */
                        struct filter_node *next;
                } expression;
                struct {
This page took 0.032117 seconds and 4 git commands to generate.