Preparing search index...
The search index is not available
openscad-parser
openscad-parser
TernaryExpr
Class TernaryExpr
Represents a ternary expression (cond ? ifexpr : elsexpr)
Hierarchy (
view full
)
Expression
TernaryExpr
Index
Constructors
constructor
Properties
cond
else
Expr
if
Expr
tokens
Accessors
span
Methods
accept
Constructors
constructor
new
Ternary
Expr
(
cond
,
ifExpr
,
elseExpr
,
tokens
)
:
TernaryExpr
Parameters
cond
:
Expression
ifExpr
:
Expression
elseExpr
:
Expression
tokens
:
{
colon
:
Token
;
questionMark
:
Token
;
}
colon
:
Token
question
Mark
:
Token
Returns
TernaryExpr
Properties
cond
cond
:
Expression
else
Expr
else
Expr
:
Expression
if
Expr
if
Expr
:
Expression
tokens
tokens
:
{
colon
:
Token
;
questionMark
:
Token
;
}
Accessors
span
get
span
(
)
:
CodeSpan
Returns
CodeSpan
Methods
accept
accept
<
R
>
(
visitor
)
:
R
Type Parameters
R
Parameters
visitor
:
ASTVisitor
<
R
>
Returns
R
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cond
else
Expr
if
Expr
tokens
Accessors
span
Methods
accept
openscad-parser
Loading...
Represents a ternary expression (cond ? ifexpr : elsexpr)