public class ChromeCodingConvention extends CodingConventions.Proxy
CodingConvention.AssertionFunctionSpec, CodingConvention.Bind, CodingConvention.Cache, CodingConvention.DelegateRelationship, CodingConvention.ObjectLiteralCast, CodingConvention.SubclassRelationship, CodingConvention.SubclassTypenextConvention| Constructor and Description | 
|---|
| ChromeCodingConvention() | 
| ChromeCodingConvention(CodingConvention wrapped) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | applySingletonGetterOld(FunctionType functionType,
                       FunctionType getterType,
                       ObjectType objectType)In many JS libraries, the function that adds a singleton getter to a class
 adds properties to the class. | 
| Collection<CodingConvention.AssertionFunctionSpec> | getAssertionFunctions()Returns the set of AssertionFunction. | 
| Collection<String> | getIndirectlyDeclaredProperties()Gets a collection of all properties that are defined indirectly on global
 objects. | 
| String | getSingletonGetterClassName(Node callNode)Checks if the given method defines a singleton getter, and if it does,
 returns the name of the class with the singleton getter. | 
| boolean | isFunctionCallThatAlwaysThrows(Node n)Used by CheckMissingReturn. | 
applyDelegateRelationship, applySingletonGetterNew, applySubclassRelationship, blockRenamingForProperty, checkForCallingConventionDefiningCalls, defineDelegateProxyPrototypeProperties, describeCachingCall, describeFunctionBind, describeFunctionBind, extractClassNameIfProvide, extractClassNameIfRequire, extractIsModuleFile, getAbstractMethodName, getClassesDefinedByCall, getDelegateRelationship, getDelegateSuperclassName, getExportPropertyFunction, getExportSymbolFunction, getGlobalObject, getObjectLiteralCast, getPackageName, hasPrivacyConvention, identifyTypeDeclarationCall, isClassFactoryCall, isConstant, isConstantKey, isExported, isExported, isInlinableFunction, isOptionalParameter, isPrivate, isPropertyRenameFunction, isPropertyTestFunction, isPrototypeAlias, isSuperClassReference, isValidEnumKey, isVarArgsParameterpublic ChromeCodingConvention()
public ChromeCodingConvention(CodingConvention wrapped)
public String getSingletonGetterClassName(Node callNode)
CodingConventiongetSingletonGetterClassName in interface CodingConventiongetSingletonGetterClassName in class CodingConventions.ProxycallNode - A CALL node.public void applySingletonGetterOld(FunctionType functionType, FunctionType getterType, ObjectType objectType)
CodingConventionapplySingletonGetterOld in interface CodingConventionapplySingletonGetterOld in class CodingConventions.Proxypublic Collection<String> getIndirectlyDeclaredProperties()
CodingConventiongetIndirectlyDeclaredProperties in interface CodingConventiongetIndirectlyDeclaredProperties in class CodingConventions.Proxypublic Collection<CodingConvention.AssertionFunctionSpec> getAssertionFunctions()
CodingConventiongetAssertionFunctions in interface CodingConventiongetAssertionFunctions in class CodingConventions.Proxypublic boolean isFunctionCallThatAlwaysThrows(Node n)
CodingConventionisFunctionCallThatAlwaysThrows in interface CodingConventionisFunctionCallThatAlwaysThrows in class CodingConventions.ProxyCopyright © 2009-2017 Google. All Rights Reserved.