v1/src/compiler/analyzed_class
        library 
 
      
    
    
    
      Classes
      
          - 
  AnalyzedClass 
- 
  A wrapper around ClassElementwhich exposes the functionality
needed for the view compiler to find types for expressions.
 
    
      Functions
      
          - 
  boolType(AnalyzedClass analyzedClass)
    → DartType
  
  
- 
  Returns an bool type using the analyzedClass's context.
- 
  canBeNull(AST expression)
    → bool
  
  
- 
  Returns trueifexpressioncould benull.
- 
  getExpressionType(AST expression, AnalyzedClass analyzedClass)
    → DartType
  
  
- 
  Returns the expressiontype evaluated within context ofanalyzedClass.
- 
  getIterableElementType(DartType dartType, LibraryElement lib)
    → DartType?
  
  
- 
  Returns the element type of dartType, assuming it implementsIterable.
- 
  intType(AnalyzedClass analyzedClass)
    → DartType
  
  
- 
  Returns an int type using the analyzedClass's context.
- 
  isBool(AST expression, AnalyzedClass analyzedClass)
    → bool
  
  
- 
  Returns whether the type expressionis bool.
- 
  isDouble(AST expression, AnalyzedClass analyzedClass)
    → bool
  
  
- 
  Returns whether the type expressionis double.
- 
  isImmutable(AST expression, AnalyzedClass? analyzedClass)
    → bool
  
  
- 
  Returns trueifexpressionis immutable.
- 
  isInt(AST expression, AnalyzedClass analyzedClass)
    → bool
  
  
- 
  Returns whether the type expressionis int.
- 
  isNumber(AST expression, AnalyzedClass analyzedClass)
    → bool
  
  
- 
  Returns whether the type expressionis num.
- 
  isStaticGetterOrMethod(String name, AnalyzedClass analyzedClass)
    → bool
  
  
- 
  
  
- 
  isStaticSetter(String name, AnalyzedClass analyzedClass)
    → bool
  
  
- 
  
  
- 
  isString(AST expression, AnalyzedClass analyzedClass)
    → bool
  
  
- 
  Returns whether the type expressionis String.
- 
  rewriteTearOff(ASTWithSource original, AnalyzedClass analyzedClass)
    → ASTWithSource
  
  
- 
  Rewrites an event tear-off as a method call.
  
- 
  typeToCode(DartType type)
    → String
  
  
-