src/compiler/SemanticAnalysis.h
changeset 256 3c184218462d
parent 251 ca99a81745fe
child 263 ba85a47ee414
     1.1 --- a/src/compiler/SemanticAnalysis.h	Tue Jan 01 20:08:34 2013 -0800
     1.2 +++ b/src/compiler/SemanticAnalysis.h	Sun Jan 06 13:52:21 2013 -0800
     1.3 @@ -67,6 +67,7 @@
     1.4      void visitStringLiteral(StringLiteral *node);
     1.5      void visitUnaryExpression(UnaryExpression *node);
     1.6      void visitBooleanLiteral(BooleanLiteral *node);
     1.7 +    void visitFieldExpression(FieldExpression *node);
     1.8  #if 0
     1.9      void visitFunctionTypeStatement(FunctionTypeStatement *node);
    1.10      void visitImportStatement(ImportStatement *node);
    1.11 @@ -74,12 +75,12 @@
    1.12      void visitSwitchStatement(SwitchStatement *node);
    1.13  
    1.14      void visitTernaryExpression(TernaryExpression *node);
    1.15 -    void visitFieldExpression(FieldExpression *node);
    1.16      void visitArrayLiteral(ArrayLiteral *node);
    1.17  #endif
    1.18  
    1.19    private:
    1.20      bool checkArgumentCount(Handle<FunctionType> type, unsigned actual);
    1.21 +    void import(HIR *hir, FieldExpression *node);
    1.22  
    1.23    private:
    1.24      enum CoercionKind {