HTTypeChecker class

A interpreter that compute HTType out of ASTNode

Implemented types

Constructors

HTTypeChecker({HTLexicon? lexicon})

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

evalAstNode(ASTNode node) HTType
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitAssertStmt(AssertStmt node) HTType
override
visitAssignExpr(AssignExpr node) HTType
override
visitBinaryExpr(BinaryExpr node) HTType
*, /, ~/, %, +, -, <, >, <=, >=, ==, !=, &&, ||
override
visitBlockStmt(BlockStmt node) HTType
override
visitBooleanExpr(ASTLiteralBoolean node) HTType
override
visitBreakStmt(BreakStmt node) HTType
override
visitCallExpr(CallExpr node) HTType
override
visitClassDecl(ClassDecl node) HTType
override
visitCommaExpr(CommaExpr node) HTType
override
visitComment(ASTComment node) HTType
override
visitCompilation(ASTCompilation node) HTType
override
visitContinueStmt(ContinueStmt node) HTType
override
visitDeleteMemberStmt(DeleteMemberStmt node) HTType
override
visitDeleteStmt(DeleteStmt node) HTType
override
visitDeleteSubStmt(DeleteSubStmt node) HTType
override
visitDestructuringDecl(DestructuringDecl node) HTType
override
visitDoStmt(DoStmt node) HTType
override
visitEmptyExpr(ASTEmpty node) HTType
override
visitEmptyLine(ASTEmptyLine node) HTType
override
visitEnumDecl(EnumDecl node) HTType
override
visitExprStmt(ExprStmt node) HTType
override
visitFieldTypeExpr(FieldTypeExpr node) HTType
override
visitFloatLiteralExpr(ASTLiteralFloat node) HTType
override
visitForRangeStmt(ForRangeStmt node) HTType
override
visitForStmt(ForStmt node) HTType
override
visitFuncDecl(FuncDecl node) HTType
override
visitFunctionTypeExpr(FuncTypeExpr node) HTType
override
visitGenericTypeParamExpr(GenericTypeParameterExpr node) HTType
override
visitGroupExpr(GroupExpr node) HTType
override
visitIdentifierExpr(IdentifierExpr node) HTType
override
visitIf(IfStmt node) HTType
override
visitImportExportDecl(ImportExportDecl node) HTType
override
visitInOfExpr(InOfExpr node) HTType
override
visitIntLiteralExpr(ASTLiteralInteger node) HTType
override
visitIntrinsicTypeExpr(IntrinsicTypeExpr node) HTType
override
visitListExpr(ListExpr node) HTType
override
visitMemberExpr(MemberExpr node) HTType
override
visitNamespaceDecl(NamespaceDecl node) HTType
override
visitNominalTypeExpr(NominalTypeExpr node) HTType
override
visitNullExpr(ASTLiteralNull node) HTType
override
visitParamDecl(ParamDecl node) HTType
override
visitParamTypeExpr(ParamTypeExpr node) HTType
override
visitReferConstructCallExpr(RedirectingConstructorCallExpr node) HTType
override
visitReturnStmt(ReturnStmt node) HTType
override
visitSource(ASTSource node) HTType
override
visitSpreadExpr(SpreadExpr node) HTType
override
visitStringInterpolationExpr(ASTStringInterpolation node) HTType
override
visitStringLiteralExpr(ASTLiteralString node) HTType
override
visitStructDecl(StructDecl node) HTType
override
visitStructObjExpr(StructObjExpr node) HTType
override
visitStructObjField(StructObjField node) HTType
override
visitStructuralTypeExpr(StructuralTypeExpr node) HTType
override
visitSubExpr(SubExpr node) HTType
override
visitTernaryExpr(TernaryExpr node) HTType
e1 ? e2 : e3
override
visitThrowStmt(ThrowStmt node) HTType
override
visitTypeAliasDecl(TypeAliasDecl node) HTType
override
visitUnaryPostfixExpr(UnaryPostfixExpr node) HTType
override
visitUnaryPrefixExpr(UnaryPrefixExpr node) HTType
-e, !e,++e, --e
override
visitVarDecl(VarDecl node) HTType
override
visitWhen(WhenStmt node) HTType
override
visitWhileStmt(WhileStmt node) HTType
override

Operators

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