Expression constructor
Expression(
- AstNode? _expression, {
- bool? isProgram = false,
- bool? isIdentifier = false,
- bool? isPrefixedIdentifier = false,
- bool? isStringLiteral = false,
- bool? isNumericLiteral = false,
- bool? isBooleanLiteral = false,
- bool? isListLiteral = false,
- bool? isMapLiteral = false,
- bool? isMethodInvocation = false,
- bool? isMemberExpression = false,
- bool? isNamedExpression = false,
- bool? isVariableDeclarationList = false,
- bool? isBinaryExpression = false,
- bool? isAssignmentExpression = false,
- bool? isPropertyAccess = false,
- bool? isClassDeclaration = false,
- bool? isMethodDeclaration = false,
- bool? isReturnStatement = false,
- bool? isFieldDeclaration = false,
- bool? isFunctionExpression = false,
- bool? isBlockStatement = false,
- bool? isFunctionDeclaration = false,
- bool? isAwaitExpression = false,
- bool? isPrefixExpression = false,
- bool? isExpressionStatement = false,
- bool? isIfStatement = false,
- bool? isForStatement = false,
- bool? isSwitchStatement = false,
- bool? isIndexExpression = false,
- bool? isStringInterpolation = false,
- bool? isInterpolationExpression = false,
- bool? isVariableDeclaration = false,
- bool? isVariableExpression = false,
- bool? isFuncParam = false,
- bool? isTypeName = false,
- Map? ast,
Implementation
Expression(
this._expression, {
this.isProgram = false,
this.isIdentifier = false,
this.isPrefixedIdentifier = false,
this.isStringLiteral = false,
this.isNumericLiteral = false,
this.isBooleanLiteral = false,
this.isListLiteral = false,
this.isMapLiteral = false,
this.isMethodInvocation = false,
this.isMemberExpression = false,
this.isNamedExpression = false,
this.isVariableDeclarationList = false,
this.isBinaryExpression = false,
this.isAssignmentExpression = false,
this.isPropertyAccess = false,
this.isClassDeclaration = false,
this.isMethodDeclaration = false,
this.isReturnStatement = false,
this.isFieldDeclaration = false,
this.isFunctionExpression = false,
this.isBlockStatement = false,
this.isFunctionDeclaration = false,
this.isAwaitExpression = false,
this.isPrefixExpression = false,
this.isExpressionStatement = false,
this.isIfStatement = false,
this.isForStatement = false,
this.isSwitchStatement = false,
this.isIndexExpression = false,
this.isStringInterpolation = false,
this.isInterpolationExpression = false,
this.isVariableDeclaration = false,
this.isVariableExpression = false,
this.isFuncParam =false,
this.isTypeName = false,
Map? ast,
}) : super(ast: ast);