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,java.io.Serializable
public class JqueryCodingConvention extends CodingConventions.Proxy
This describes the jQuery specific JavaScript coding conventions.- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description JqueryCodingConvention()JqueryCodingConvention(CodingConvention wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGlobalObject()Gets the name of the global object.booleanisPropertyTestFunction(Node call)Whether this CALL function is testing for the existence of a property.booleanisPrototypeAlias(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 Detail
-
JqueryCodingConvention
public JqueryCodingConvention()
-
JqueryCodingConvention
public JqueryCodingConvention(CodingConvention wrapped)
-
-
Method Detail
-
getGlobalObject
public java.lang.String getGlobalObject()
Description copied from interface:CodingConventionGets the name of the global object.- Specified by:
getGlobalObjectin interfaceCodingConvention- Overrides:
getGlobalObjectin classCodingConventions.Proxy
-
isPropertyTestFunction
public boolean isPropertyTestFunction(Node call)
Description copied from interface:CodingConventionWhether this CALL function is testing for the existence of a property.- Specified by:
isPropertyTestFunctionin interfaceCodingConvention- Overrides:
isPropertyTestFunctionin classCodingConventions.Proxy
-
isPrototypeAlias
public boolean isPrototypeAlias(Node getProp)
Description copied from interface:CodingConventionWhether this GETPROP node is an alias for an object prototype.- Specified by:
isPrototypeAliasin interfaceCodingConvention- Overrides:
isPrototypeAliasin classCodingConventions.Proxy
-
-