EnvironmentBuilder class

Initializes Scope.environment for all scopes in a given AST.

Inheritance

Constructors

EnvironmentBuilder()

Properties

currentScope Scope?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addVar(Name name) → void
build(Program ast) → void
defaultNode(Node node) Null?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visit(Node? node) Null?
Shorthand for node.visitBy(this).
inherited
visitArray(ArrayExpression node) Null?
inherited
visitArrowFunctionNode(ArrowFunctionNode node) Null?
inherited
visitAssignment(AssignmentExpression node) Null?
inherited
visitBinary(BinaryExpression node) Null?
inherited
visitBlock(BlockStatement node) Null?
inherited
visitBreak(BreakStatement node) Null?
inherited
visitCall(CallExpression node) Null?
inherited
visitCatchClause(CatchClause node) Null?
override
visitConditional(ConditionalExpression node) Null?
inherited
visitContinue(ContinueStatement node) Null?
inherited
visitDebugger(DebuggerStatement node) Null?
inherited
visitDoWhile(DoWhileStatement node) Null?
inherited
visitEmptyStatement(EmptyStatement node) Null?
inherited
visitExpressionStatement(ExpressionStatement node) Null?
inherited
visitFor(ForStatement node) Null?
inherited
visitForIn(ForInStatement node) Null?
inherited
visitFunctionDeclaration(FunctionDeclaration node) Null?
override
visitFunctionExpression(FunctionExpression node) Null?
override
visitFunctionNode(FunctionNode node) Null?
override
visitIf(IfStatement node) Null?
inherited
visitIndex(IndexExpression node) Null?
inherited
visitLabeledStatement(LabeledStatement node) Null?
inherited
visitLiteral(LiteralExpression node) Null?
inherited
visitMember(MemberExpression node) Null?
inherited
visitName(Name node) Null?
inherited
visitNameExpression(NameExpression node) Null?
inherited
visitObject(ObjectExpression node) Null?
inherited
visitProgram(Program node) Null?
override
visitPrograms(Programs node) Null?
inherited
visitProperty(Property node) Null?
inherited
visitRegexp(RegexpExpression node) Null?
inherited
visitReturn(ReturnStatement node) Null?
inherited
visitSequence(SequenceExpression node) Null?
inherited
visitSwitch(SwitchStatement node) Null?
inherited
visitSwitchCase(SwitchCase node) Null?
inherited
visitThis(ThisExpression node) Null?
inherited
visitThrow(ThrowStatement node) Null?
inherited
visitTry(TryStatement node) Null?
inherited
visitUnary(UnaryExpression node) Null?
inherited
visitUpdateExpression(UpdateExpression node) Null?
inherited
visitVariableDeclaration(VariableDeclaration node) Null?
inherited
visitVariableDeclarator(VariableDeclarator node) Null?
override
visitWhile(WhileStatement node) Null?
inherited
visitWith(WithStatement node) Null?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited