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
public class JqueryCodingConvention
- extends CodingConventions.Proxy
This describes the jQuery specific JavaScript coding conventions.
- See Also:
- Serialized Form
Methods inherited from class com.google.javascript.jscomp.CodingConventions.Proxy |
applyDelegateRelationship, applySingletonGetter, applySubclassRelationship, checkForCallingConventionDefiningCalls, defineDelegateProxyPrototypeProperties, describeFunctionBind, extractClassNameIfProvide, extractClassNameIfRequire, getAbstractMethodName, getAssertionFunctions, getClassesDefinedByCall, getDelegateRelationship, getDelegateSuperclassName, getExportPropertyFunction, getExportSymbolFunction, getObjectLiteralCast, getSingletonGetterClassName, identifyTypeDeclarationCall, isConstant, isConstantKey, isExported, isExported, isOptionalParameter, isPrivate, isSuperClassReference, isValidEnumKey, isVarArgsParameter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JqueryCodingConvention
public JqueryCodingConvention()
JqueryCodingConvention
public JqueryCodingConvention(CodingConvention wrapped)
getGlobalObject
public String getGlobalObject()
- Description copied from interface:
CodingConvention
- Gets the name of the global object.
- Specified by:
getGlobalObject
in interface CodingConvention
- Overrides:
getGlobalObject
in class CodingConventions.Proxy
isPropertyTestFunction
public boolean isPropertyTestFunction(Node call)
- Description copied from interface:
CodingConvention
- Whether this CALL function is testing for the existence of a property.
- Specified by:
isPropertyTestFunction
in interface CodingConvention
- Overrides:
isPropertyTestFunction
in class CodingConventions.Proxy
isPrototypeAlias
public boolean isPrototypeAlias(Node n)
- Description copied from interface:
CodingConvention
- Whether this GETPROP node is an alias for an object prototype.
- Specified by:
isPrototypeAlias
in interface CodingConvention
- Overrides:
isPrototypeAlias
in class CodingConventions.Proxy