Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| DocParser::$target | property | core/ |
Current target context. |
| DocParser::$typeMap | property | core/ |
Hash-map for handle types declaration. |
| DocParser::addNamespace | function | core/ |
Sets the default namespaces. |
| DocParser::Annotation | function | core/ |
Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |… |
| DocParser::Annotations | function | core/ |
Annotations ::= Annotation {[ "*" ]* [Annotation]}* |
| DocParser::ArrayEntry | function | core/ |
ArrayEntry ::= Value | KeyValuePair KeyValuePair ::= Key ("=" | ":") PlainValue | Constant Key ::= string | integer | Constant |
| DocParser::ArrayX | function | core/ |
Array ::= "{" ArrayEntry {"," ArrayEntry}* [","] "}" |
| DocParser::classExists | function | core/ |
Attempts to check if a class exists or not. This never goes through the PHP autoloading mechanism but uses the {@link AnnotationRegistry} to load classes. |
| DocParser::collectAnnotationMetadata | function | core/ |
Collects parsing metadata for a given annotation class |
| DocParser::collectAttributeTypeMetadata | function | core/ |
Collects parsing metadata for a given attribute. |
| DocParser::Constant | function | core/ |
Constant ::= integer | string | float | boolean |
| DocParser::FieldAssignment | function | core/ |
FieldAssignment ::= FieldName "=" PlainValue FieldName ::= identifier |
| DocParser::findInitialTokenPosition | function | core/ |
Finds the first valid annotation |
| DocParser::getClassConstantPositionInIdentifier | function | core/ |
|
| DocParser::Identifier | function | core/ |
Identifier ::= string |
| DocParser::identifierEndsWithClassConstant | function | core/ |
|
| DocParser::identifierStartsWithBackslash | function | core/ |
|
| DocParser::match | function | core/ |
Attempts to match the given token with the current lookahead token. If they match, updates the lookahead token; otherwise raises a syntax error. |
| DocParser::matchAny | function | core/ |
Attempts to match the current lookahead token with any of the given tokens. |
| DocParser::MethodCall | function | core/ |
MethodCall ::= ["(" [Values] ")"] |
| DocParser::parse | function | core/ |
Parses the given docblock string for annotations. |
| DocParser::PlainValue | function | core/ |
PlainValue ::= integer | string | float | boolean | Array | Annotation |
| DocParser::setIgnoredAnnotationNames | function | core/ |
Sets the annotation names that are ignored during the parsing process. |
| DocParser::setIgnoreNotImportedAnnotations | function | core/ |
Sets ignore on not-imported annotations. |
| DocParser::setImports | function | core/ |
Sets the imports. |
| DocParser::setTarget | function | core/ |
Sets current target context as bitmask. |
| DocParser::syntaxError | function | core/ |
Generates a new syntax error. |
| DocParser::Value | function | core/ |
Value ::= PlainValue | FieldAssignment |
| DocParser::Values | function | core/ |
Values ::= Array | Value {"," Value}* [","] |
| DocParser::__construct | function | core/ |
Constructs a new DocParser. |
| DocParserIgnoredClassesTest | class | core/ |
Tests Drupal\Component\Annotation\Doctrine\DocParser. |
| DocParserIgnoredClassesTest.php | file | core/ |
|
| DocParserIgnoredClassesTest::testIgnoredAnnotationSkippedBeforeReflection | function | core/ |
Ensure annotations can be ignored when namespaces are present. |
| DocParserTest | class | core/ |
This class is a near-copy of Doctrine\Tests\Common\Annotations\DocParserTest, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7. |
| DocParserTest.php | file | core/ |
|
| DocParserTest::createTestParser | function | core/ |
@phpstan-ignore missingType.return |
| DocParserTest::getAnnotationVarTypeArrayProviderInvalid | function | core/ |
@phpstan-ignore missingType.return |
| DocParserTest::getAnnotationVarTypeProviderInvalid | function | core/ |
@phpstan-ignore missingType.return |
| DocParserTest::getAnnotationVarTypeProviderValid | function | core/ |
@phpstan-ignore missingType.return |
| DocParserTest::getConstantsProvider | function | core/ |
@phpstan-ignore missingType.return |
| DocParserTest::testAnnotationDoesNotThrowExceptionWhenAtSignIsNotFollowedByIdentifier | function | core/ |
Tests annotation does not throw exception when at sign is not followed by identifier. |
| DocParserTest::testAnnotationDontAcceptSingleQuotes | function | core/ |
|
| DocParserTest::testAnnotationEnumeratorException | function | core/ |
|
| DocParserTest::testAnnotationEnumeratorLiteralException | function | core/ |
|
| DocParserTest::testAnnotationEnumInvalidLiteralDeclarationException | function | core/ |
|
| DocParserTest::testAnnotationEnumInvalidTypeDeclarationException | function | core/ |
|
| DocParserTest::testAnnotationTarget | function | core/ |
|
| DocParserTest::testAnnotationTargetSyntaxError | function | core/ |
|
| DocParserTest::testAnnotationThrowsExceptionWhenAtSignIsNotFollowedByIdentifierInNestedAnnotation | function | core/ |
Tests annotation throws exception when at sign is not followed by identifier in nested annotation. |
| DocParserTest::testAnnotationWithAttributes | function | core/ |
Tests annotation with attributes. |
Pagination
- Previous page
- Page 442
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.