Search for parse
- Search 7.x for parse
- Search 9.5.x for parse
- Search 8.9.x for parse
- Search 10.3.x for parse
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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/ |
|
| DocParserTest::getAnnotationVarTypeArrayProviderInvalid | function | core/ |
|
| DocParserTest::getAnnotationVarTypeProviderInvalid | function | core/ |
|
| DocParserTest::getAnnotationVarTypeProviderValid | function | core/ |
|
| DocParserTest::getConstantsProvider | function | core/ |
|
| 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. |
| DocParserTest::testAnnotationWithAttributesError | function | core/ |
Tests annotation with attributes error. |
| DocParserTest::testAnnotationWithAttributesWithVarTypeArrayError | function | core/ |
Tests annotation with attributes with var type array error. |
| DocParserTest::testAnnotationWithInvalidTargetDeclarationError | function | core/ |
|
| DocParserTest::testAnnotationWithoutClassIsIgnoredWithoutWarning | function | core/ |
Tests annotation without class is ignored without warning. |
| DocParserTest::testAnnotationWithoutConstructor | function | core/ |
|
| DocParserTest::testAnnotationWithRequiredAttributes | function | core/ |
|
| DocParserTest::testAnnotationWithRequiredAttributesWithoutContructor | function | core/ |
|
| DocParserTest::testAnnotationWithTargetEmptyError | function | core/ |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.