new BasicEvaluatedExpression(): BasicEvaluatedExpressionBasicEvaluatedExpressionany[]bigintbooleanProgram | AssignmentProperty | Property | CatchClause | ClassDeclaration | ClassExpression | ClassBody | Identifier | SimpleLiteral | RegExpLiteral | BigIntLiteral | ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression | SimpleCallExpression | NewExpression | ChainExpression | ConditionalExpression | FunctionExpression | ImportExpression | LogicalExpression | MemberExpression | MetaProperty | ObjectExpression | SequenceExpression | TaggedTemplateExpression | TemplateLiteral | ThisExpression | UnaryExpression | UpdateExpression | YieldExpression | FunctionDeclaration | MethodDefinition | ImportDeclaration | ExportNamedDeclaration | ExportDefaultDeclaration | ExportAllDeclaration | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ExportSpecifier | ObjectPattern | ArrayPattern | RestElement | AssignmentPattern | PrivateIdentifier | PropertyDefinition | SpreadElement | ExpressionStatement | BlockStatement | StaticBlock | EmptyStatement | DebuggerStatement | WithStatement | ReturnStatement | LabeledStatement | BreakStatement | ContinueStatement | IfStatement | SwitchStatement | ThrowStatement | TryStatement | WhileStatement | DoWhileStatement | ForStatement | ForInStatement | ForOfStatement | VariableDeclaration | Super | SwitchCase | TemplateElement | VariableDeclaratorboolean() => string[]() => boolean[]string | VariableInfoBasicEvaluatedExpression[]booleannumberBasicEvaluatedExpression[]BasicEvaluatedExpression[]BasicEvaluatedExpression | nullBasicEvaluatedExpression | nullBasicEvaluatedExpression[]RegExpstring | VariableInfobooleanstring"cooked" | "raw"booleannumberBasicEvaluatedExpression[]addOptions(options): BasicEvaluatedExpressionBasicEvaluatedExpression[]BasicEvaluatedExpressionAdds the provided basic evaluated expression to the basic evaluated expression.
asBool(): boolean | undefinedCreates a boolean representation of this evaluated expression.
asCompileTimeValue(): string | number | bigint | boolean | RegExp | any[] | null | undefinedAs compile time value.
asNullish(): boolean | undefinedCreates a nullish coalescing representation of this evaluated expression.
asString(): string | undefinedCreates a string representation of this evaluated expression.
couldHaveSideEffects(): booleanbooleanCan this expression have side effects?
isArray(): booleanbooleanisBigInt(): booleanbooleanisBoolean(): booleanbooleanisCompileTimeValue(): booleanbooleanIs expression a runtime or compile-time value?
isConditional(): booleanbooleanisConstArray(): booleanbooleanisFalsy(): booleanbooleanisIdentifier(): booleanbooleanisNull(): booleanbooleanisNullish(): boolean | undefinedisNumber(): booleanbooleanisPrimitiveType(): boolean | undefinedIs expression a primitive or an object type value?
isRegExp(): booleanbooleanisString(): booleanbooleanisTemplateString(): booleanbooleanisTruthy(): booleanbooleanisUndefined(): booleanbooleanisUnknown(): booleanbooleanisWrapped(): booleanbooleansetArray(array): BasicEvaluatedExpressionstring[]BasicEvaluatedExpressionSet's the value of this expression to an array of strings.
setBigInt(bigint): BasicEvaluatedExpressionbigintBasicEvaluatedExpressionSet's the value of this expression to a BigInt
setBoolean(bool): BasicEvaluatedExpressionbooleanBasicEvaluatedExpressionSet's the value of this expression to a boolean
setExpression(expression?): BasicEvaluatedExpressionProgram | AssignmentProperty | Property | CatchClause | ClassDeclaration | ClassExpression | ClassBody | Identifier | SimpleLiteral | RegExpLiteral | BigIntLiteral | ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression | SimpleCallExpression | NewExpression | ChainExpression | ConditionalExpression | FunctionExpression | ImportExpression | LogicalExpression | MemberExpression | MetaProperty | ObjectExpression | SequenceExpression | TaggedTemplateExpression | TemplateLiteral | ThisExpression | UnaryExpression | UpdateExpression | YieldExpression | FunctionDeclaration | MethodDefinition | ImportDeclaration | ExportNamedDeclaration | ExportDefaultDeclaration | ExportAllDeclaration | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ExportSpecifier | ObjectPattern | ArrayPattern | RestElement | AssignmentPattern | PrivateIdentifier | PropertyDefinition | SpreadElement | ExpressionStatement | BlockStatement | StaticBlock | EmptyStatement | DebuggerStatement | WithStatement | ReturnStatement | LabeledStatement | BreakStatement | ContinueStatement | IfStatement | SwitchStatement | ThrowStatement | TryStatement | WhileStatement | DoWhileStatement | ForStatement | ForInStatement | ForOfStatement | VariableDeclaration | Super | SwitchCase | TemplateElement | VariableDeclaratorBasicEvaluatedExpressionSet the expression node for the expression.
setFalsy(): BasicEvaluatedExpressionBasicEvaluatedExpressionsetIdentifier(identifier, rootInfo, getMembers, getMembersOptionals?, getMemberRanges?): BasicEvaluatedExpressionstring | VariableInfostring | VariableInfo() => string[]() => boolean[]BasicEvaluatedExpressionSet's the value of this expression to a particular identifier and its members.
setItems(items): BasicEvaluatedExpressionBasicEvaluatedExpression[]BasicEvaluatedExpressionSet's the value of this expression to an array of expressions.
setNull(): BasicEvaluatedExpressionBasicEvaluatedExpressionsetNullish(value): BasicEvaluatedExpressionbooleanBasicEvaluatedExpressionSet's the value of the expression to nullish.
setNumber(number): BasicEvaluatedExpressionnumberBasicEvaluatedExpressionSet's the value of this expression to a number
setOptions(options): BasicEvaluatedExpressionBasicEvaluatedExpression[]BasicEvaluatedExpressionStores the options of a conditional expression.
setRange(range): BasicEvaluatedExpressionBasicEvaluatedExpressionSet's the range for the expression.
setRegExp(regExp): BasicEvaluatedExpressionRegExpBasicEvaluatedExpressionSet's the value of this expression to a regular expression
setSideEffects(sideEffects?): BasicEvaluatedExpressionbooleanBasicEvaluatedExpressionSet whether or not the expression has side effects.
setString(string): BasicEvaluatedExpressionstringBasicEvaluatedExpressionUpdates string using the provided string.
setTemplateString(quasis, parts, kind): BasicEvaluatedExpressionBasicEvaluatedExpression[]BasicEvaluatedExpression[]"cooked" | "raw"BasicEvaluatedExpressionSet's the value of this expression to a processed/unprocessed template string. Used for evaluating TemplateLiteral expressions in the JavaScript Parser.
setTruthy(): BasicEvaluatedExpressionBasicEvaluatedExpressionsetUndefined(): BasicEvaluatedExpressionBasicEvaluatedExpressionsetWrapped(prefix?, postfix?, innerExpressions?): BasicEvaluatedExpressionBasicEvaluatedExpression | nullBasicEvaluatedExpression | nullBasicEvaluatedExpression[]BasicEvaluatedExpressionWraps an array of expressions with a prefix and postfix expression.