Lines Matching +full:bool +full:- +full:property
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
38 * struct expr - expression
51 bool val_is_valid;
57 #define EXPR_NOT(dep) (2-(dep))
131 struct property *prop;
150 #define SYMBOL_WRITTEN 0x0800 /* track info to avoid double-write to .config */
163 /* A property represent the config options that can be associated
175 * list of property types!
188 struct property { struct
189 struct property *next; /* next property - null if last */ argument
190 enum prop_type type; /* type of property */ argument
191 const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */
193 struct expr *expr; /* the optional conditional part of the property */ argument
194 struct menu *menu; /* the menu the property are associated with argument
197 const char *filename; /* what file was this property defined */ argument
198 int lineno; /* what lineno was this property defined */ argument
202 for (st = sym->prop; st; st = st->next) \
203 if (st->type == (tok))
206 for (st = sym->prop; st; st = st->next) \
207 if (st->text)
253 struct property *prompt;
305 bool expr_eq(struct expr *e1, struct expr *e2);
309 bool expr_contains_symbol(struct expr *dep, struct symbol *sym);
310 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
319 static inline bool expr_is_yes(const struct expr *e) in expr_is_yes()
321 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()