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;
149 #define SYMBOL_WRITTEN 0x0800 /* track info to avoid double-write to .config */
162 /* A property represent the config options that can be associated
174 * list of property types!
187 struct property { struct
188 struct property *next; /* next property - null if last */ argument
189 enum prop_type type; /* type of property */ argument
190 const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */
192 struct expr *expr; /* the optional conditional part of the property */ argument
193 struct menu *menu; /* the menu the property are associated with argument
196 const char *filename; /* what file was this property defined */ argument
197 int lineno; /* what lineno was this property defined */ argument
201 for (st = sym->prop; st; st = st->next) \
202 if (st->type == (tok))
205 for (st = sym->prop; st; st = st->next) \
206 if (st->text)
241 struct property *prompt;
293 bool expr_eq(struct expr *e1, struct expr *e2);
297 bool expr_contains_symbol(struct expr *dep, struct symbol *sym);
298 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
307 static inline bool expr_is_yes(const struct expr *e) in expr_is_yes()
309 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()