| AMPValidatorManager |
This class manages the rules.
|
| CdataMatcher |
CdataMatcher maintains a constraint to check which an opening tag
introduces: a tag's cdata matches constraints set by it's cdata
spec.
|
| ChildTagMatcher |
The child tag matcher evaluates ChildTagSpec.
|
| Context |
The Context keeps track of the line / column that the validator is
in, as well as the mandatory tag specs that have already been validated.
|
| DescendantConstraints |
Instances of this class specify which tag names (|allowedTags|)
are allowed as descendent tags of a particular tag (|tagName|).
|
| ExitCondition |
Exit condition enumeration types.
|
| ExtensionsContext |
The extensions context keys track of the extensions that the validator has
seen, as well as which have been used, which are required to be used, etc.
|
| ParsedAttrSpec |
This wrapper class provides access to an AttrSpec and an attribute id which is unique within its context
(e.g., it's unique within the ParsedTagSpec).
|
| ParsedAttrSpecs |
TagSpecs specify attributes that are valid for a particular tag.
|
| ParsedDocSpec |
Wrapper around DocSpec.
|
| ParsedHtmlTag |
The AMP HTML ParsedHtmlTag class.
|
| ParsedReferencePoints |
Holds the reference points for a particular parent tag spec, including
their resolved TagSpec ids.
|
| ParsedTagSpec |
This class provides access to a TagSpec and a tag id
which is unique within its context, the ParsedValidatorRules.
|
| ParsedUrlSpec |
ParsedUrlSpec is used for both ParsedAttrSpec and ParsedCdataSpec, to
check URLs.
|
| ParsedValidatorRules |
This wrapper class provides access to the validation rules.
|
| ParsedValueProperties |
This class creates a map of property specs key by name.
|
| RecordValidated |
Record validated enumeration types.
|
| ReferencePointMatcher |
A tag may initialize this ReferencePointMatcher with its reference points.
|
| SrcsetSourceDef |
This class contains a single source within a srcset.
|
| TagSpecDispatch |
This class stores the dispatch rules for all TagSpecs with the same tag name.
|
| TagStack |
This class keeps track of the tag names and ChildTagMatchers
as we enter / exit tags in the document.
|
| TagStackEntry |
This class is the unit definition of the TagStack collection.
|
| UrlErrorAdapter |
An url error adaptor interface.
|
| ValidateTagResult |
This class contains the validation result and the best match tag spec.
|
| ValidatorProtos.AncestorMarker.Marker |
NEXT AVAILABLE TAG: 2
|
| ValidatorProtos.AttrList |
Some tags share several attributes, so they're identified by unique key
(see the attr_lists map in ValidatorRules).
|
| ValidatorProtos.AttrSpec |
Attributes that are not covered by at least one of these specs are
disallowed.
|
| ValidatorProtos.CssDeclaration |
NEXT AVAILABLE TAG: 4
|
| ValidatorProtos.CssSpec |
NEXT AVAILABLE TAG: 10
|
| ValidatorProtos.DescendantTagList |
A list of allowed tags for descendants of any level (children, grandchildren,
great-grandchildren, etc).
|
| ValidatorProtos.DocCssSpec |
Exactly one DocCssSpec will match each AMP document.
|
| ValidatorProtos.DocSpec |
Exactly one DocSpec will match each AMP document.
|
| ValidatorProtos.HtmlFormat.Code |
NEXT AVAILABLE TAG: 6
|
| ValidatorProtos.PropertySpec |
Used for validating properties in attribute values.
|
| ValidatorProtos.PropertySpecList |
NEXT AVAILABLE TAG: 2
|
| ValidatorProtos.ReferencePoint |
TagSpecs and reference points.
|
| ValidatorProtos.TagSpec |
Tags that are not covered by at least one of these specs are disallowed.
|
| ValidatorProtos.UrlSpec |
Used for validating urls in attribute values (such as href/src/srcset).
|
| ValidatorProtos.ValidationError |
We record validation errors in a structured form, so that they can be
worked with in code - e.g., to provide translated messages.
|
| ValidatorProtos.ValidationError.Code |
NEXT AVAILABLE TAG: 122
|
| ValidatorProtos.ValidationResult.Builder |
The validation result provided by Validator instances (see Validator::Result
in validator.h).
|
| ValidatorProtos.ValidationResult.Status |
NEXT AVAILABLE TAG: 3
|
| ValidatorProtos.ValidatorRules.Builder |
Top level message - start reading here.
|