Package com.google.javascript.jscomp
Class JqueryCodingConvention
java.lang.Object
com.google.javascript.jscomp.CodingConventions.Proxy
com.google.javascript.jscomp.JqueryCodingConvention
- All Implemented Interfaces:
CodingConvention
,Serializable
This describes the jQuery specific JavaScript coding conventions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.javascript.jscomp.CodingConvention
CodingConvention.AssertionFunctionSpec, CodingConvention.Bind, CodingConvention.DelegateRelationship, CodingConvention.ObjectLiteralCast, CodingConvention.SubclassRelationship, CodingConvention.SubclassType
-
Field Summary
Fields inherited from class com.google.javascript.jscomp.CodingConventions.Proxy
nextConvention
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the name of the global object.boolean
isPropertyTestFunction
(Node call) Whether this CALL function is testing for the existence of a property.boolean
isPrototypeAlias
(Node getProp) Whether this GETPROP node is an alias for an object prototype.Methods inherited from class com.google.javascript.jscomp.CodingConventions.Proxy
applyDelegateRelationship, applySingletonGetter, applySubclassRelationship, checkForCallingConventionDefiningCalls, defineDelegateProxyPrototypeProperties, describeFunctionBind, describeFunctionBind, extractClassNameIfProvide, extractClassNameIfRequire, getAbstractMethodName, getAssertionFunctions, getClassesDefinedByCall, getDelegateRelationship, getDelegateSuperclassName, getExportPropertyFunction, getExportSymbolFunction, getIndirectlyDeclaredProperties, getObjectLiteralCast, getSingletonGetterClassName, identifyTypeDeclarationCall, isConstant, isConstantKey, isExported, isExported, isInlinableFunction, isOptionalParameter, isPrivate, isSuperClassReference, isValidEnumKey, isVarArgsParameter
-
Constructor Details
-
JqueryCodingConvention
public JqueryCodingConvention() -
JqueryCodingConvention
-
-
Method Details
-
getGlobalObject
Description copied from interface:CodingConvention
Gets the name of the global object.- Specified by:
getGlobalObject
in interfaceCodingConvention
- Overrides:
getGlobalObject
in classCodingConventions.Proxy
-
isPropertyTestFunction
Description copied from interface:CodingConvention
Whether this CALL function is testing for the existence of a property.- Specified by:
isPropertyTestFunction
in interfaceCodingConvention
- Overrides:
isPropertyTestFunction
in classCodingConventions.Proxy
-
isPrototypeAlias
Description copied from interface:CodingConvention
Whether this GETPROP node is an alias for an object prototype.- Specified by:
isPrototypeAlias
in interfaceCodingConvention
- Overrides:
isPrototypeAlias
in classCodingConventions.Proxy
-