Resolver class

Initializes the Name.scope link on all Name nodes.

Inheritance

Constructors

Resolver()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

defaultNode(Node node) → Null
inherited
enclosingScope(Node? node) → Scope
findScope(Name nameNode) → Scope
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Program ast) → void
toString() → String
A string representation of this object.
inherited
visit(Node node) → Null
Shorthand for node.visitBy(this).
inherited
visitArray(ArrayExpression 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
inherited
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
visitForOf(ForOfStatement node) → Null
inherited
visitFunctionDeclaration(FunctionDeclaration node) → Null
inherited
visitFunctionExpression(FunctionExpression node) → Null
inherited
visitFunctionNode(FunctionNode node) → Null
inherited
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 name) → Null
override
visitNameExpression(NameExpression node) → Null
inherited
visitObject(ObjectExpression node) → Null
inherited
visitProgram(Program node) → Null
inherited
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
visitSpread(SpreadExpression node) → Null
inherited
visitSpreadElement(SpreadElement 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
inherited
visitWhile(WhileStatement node) → Null
inherited
visitWith(WithStatement node) → Null
inherited

Operators

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