Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class ConditionalExpressionStripperVisitor
extends Visitor
import { ConditionalExpressionStripperVisitor } from "https://deno.land/x/mesozoic@v1.0.0-alpha.40/lib/visitor/conditionaExpressionStripper.ts";

Constructors

new
ConditionalExpressionStripperVisitor(conditional: Types.ExpressionStatement | undefined)

Methods

isBinaryExpression(expression: Types.Expression | undefined): expression is Types.BinaryExpression
isIdentifier(expression: Types.Expression | Types.ComputedPropName): expression is Types.Identifier
isMemberExpression(expression: Types.Expression | undefined): expression is Types.MemberExpression
isStringLiteral(expression: Types.Expression): expression is Types.StringLiteral
visitIfStatement(statement: Types.IfStatement): Types.Statement
visitTsType(type: Types.TsType): Types.TsType