2022-01-07 14:12:20 +00:00
|
|
|
/*
|
2022-01-08 07:52:24 +00:00
|
|
|
expr_names.h
|
2022-01-07 14:12:20 +00:00
|
|
|
|
|
|
|
expression construction and manipulations
|
|
|
|
|
|
|
|
Copyright (C) 2022 Bill Currie <bill@taniwha.org>
|
|
|
|
|
|
|
|
Author: Bill Currie <bill@taniwha.org>
|
|
|
|
Date: 2022/01/7
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to:
|
|
|
|
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
59 Temple Place - Suite 330
|
|
|
|
Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** \defgroup qfcc_expr Expressions
|
|
|
|
\ingroup qfcc
|
|
|
|
*/
|
|
|
|
///@{
|
|
|
|
|
|
|
|
#ifndef EX_EXPR
|
|
|
|
#define EX_EXPR(expr)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
EX_EXPR(error) ///< error expression. used to signal an error
|
|
|
|
EX_EXPR(state) ///< state expression (::ex_state_t)
|
|
|
|
EX_EXPR(bool) ///< short circuit boolean logic expression (::ex_bool_t)
|
|
|
|
EX_EXPR(label) ///< goto/branch label (::ex_label_t)
|
|
|
|
EX_EXPR(labelref) ///< label reference (::ex_labelref_t)
|
|
|
|
EX_EXPR(block) ///< statement block expression (::ex_block_t)
|
|
|
|
EX_EXPR(expr) ///< binary expression (::ex_expr_t)
|
|
|
|
EX_EXPR(uexpr) ///< unary expression (::ex_expr_t)
|
|
|
|
EX_EXPR(def) ///< non-temporary variable (::def_t)
|
|
|
|
EX_EXPR(symbol) ///< non-temporary variable (::symbol_t)
|
|
|
|
EX_EXPR(temp) ///< temporary variable (::ex_temp_t)
|
|
|
|
EX_EXPR(vector) ///< "vector" expression (::ex_vector_t)
|
|
|
|
EX_EXPR(selector) ///< selector expression (::ex_selector_t)
|
|
|
|
EX_EXPR(nil) ///< umm, nil, null. nuff said (0 of any type)
|
|
|
|
EX_EXPR(value) ///< constant value (::ex_value_t)
|
|
|
|
EX_EXPR(compound) ///< compound initializer
|
|
|
|
EX_EXPR(memset) ///< memset needs three params...
|
2022-01-08 03:06:52 +00:00
|
|
|
EX_EXPR(alias) ///< view expression as different type (::ex_alias_t)
|
2022-01-08 07:52:24 +00:00
|
|
|
EX_EXPR(address) ///< address of an lvalue expression (::ex_address_t)
|
2022-01-09 05:02:16 +00:00
|
|
|
EX_EXPR(assign) ///< assignment of src expr to dst expr (::ex_assing_t)
|
|
|
|
EX_EXPR(branch) ///< branch expression (::ex_branch_t)
|
2022-01-09 07:28:08 +00:00
|
|
|
EX_EXPR(return) ///< return expression (::ex_return_t)
|
2022-01-21 09:47:12 +00:00
|
|
|
EX_EXPR(adjstk) ///< stack adjust expression (::ex_adjstk_t)
|
|
|
|
EX_EXPR(with) ///< with expression (::ex_with_t)
|
2022-01-24 09:35:16 +00:00
|
|
|
EX_EXPR(args) ///< @args marker in parameter list. no data
|
2022-01-30 01:56:15 +00:00
|
|
|
EX_EXPR(horizontal) ///< horizontal vector operation (::ex_horzontal_t)
|
2022-05-01 01:02:26 +00:00
|
|
|
EX_EXPR(swizzle) ///< vector swizzle operation (::ex_swizzle_t)
|
2022-08-18 08:46:14 +00:00
|
|
|
EX_EXPR(extend) ///< vector extend operation (::ex_extend_t)
|
2023-08-21 08:37:56 +00:00
|
|
|
EX_EXPR(multivec) ///< geometric algebra multivector (::ex_multivec_t)
|
2022-01-07 14:12:20 +00:00
|
|
|
|
|
|
|
///@}
|