Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
DocParser::$target property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Current target context.
DocParser::$typeMap property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Hash-map for handle types declaration.
DocParser::addNamespace function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Sets the default namespaces.
DocParser::Annotation function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Annotation ::= "@" AnnotationName MethodCall
AnnotationName ::= QualifiedName | SimpleName
QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName
NameSpacePart ::= identifier | null | false |…
DocParser::Annotations function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Annotations ::= Annotation {[ "*" ]* [Annotation]}*
DocParser::ArrayEntry function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php ArrayEntry ::= Value | KeyValuePair
KeyValuePair ::= Key ("=" | ":") PlainValue | Constant
Key ::= string | integer | Constant
DocParser::ArrayX function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Array ::= "{" ArrayEntry {"," ArrayEntry}* [","] "}"
DocParser::classExists function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php 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/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Collects parsing metadata for a given annotation class
DocParser::collectAttributeTypeMetadata function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Collects parsing metadata for a given attribute.
DocParser::Constant function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Constant ::= integer | string | float | boolean
DocParser::FieldAssignment function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php FieldAssignment ::= FieldName "=" PlainValue
FieldName ::= identifier
DocParser::findInitialTokenPosition function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Finds the first valid annotation
DocParser::getClassConstantPositionInIdentifier function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
DocParser::Identifier function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Identifier ::= string
DocParser::identifierEndsWithClassConstant function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
DocParser::identifierStartsWithBackslash function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
DocParser::match function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php 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/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Attempts to match the current lookahead token with any of the given tokens.
DocParser::MethodCall function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php MethodCall ::= ["(" [Values] ")"]
DocParser::parse function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Parses the given docblock string for annotations.
DocParser::PlainValue function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php PlainValue ::= integer | string | float | boolean | Array | Annotation
DocParser::setIgnoredAnnotationNames function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Sets the annotation names that are ignored during the parsing process.
DocParser::setIgnoreNotImportedAnnotations function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Sets ignore on not-imported annotations.
DocParser::setImports function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Sets the imports.
DocParser::setTarget function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Sets current target context as bitmask.
DocParser::syntaxError function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Generates a new syntax error.
DocParser::Value function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Value ::= PlainValue | FieldAssignment
DocParser::Values function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Values ::= Array | Value {"," Value}* [","]
DocParser::__construct function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Constructs a new DocParser.
DocParserIgnoredClassesTest class core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php Tests Drupal\Component\Annotation\Doctrine\DocParser.
DocParserIgnoredClassesTest.php file core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php
DocParserIgnoredClassesTest::testIgnoredAnnotationSkippedBeforeReflection function core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php Ensure annotations can be ignored when namespaces are present.
DocParserTest class core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php 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/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::createTestParser function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @phpstan-ignore missingType.return
DocParserTest::getAnnotationVarTypeArrayProviderInvalid function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @phpstan-ignore missingType.return
DocParserTest::getAnnotationVarTypeProviderInvalid function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @phpstan-ignore missingType.return
DocParserTest::getAnnotationVarTypeProviderValid function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @phpstan-ignore missingType.return
DocParserTest::getConstantsProvider function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @phpstan-ignore missingType.return
DocParserTest::testAnnotationDoesNotThrowExceptionWhenAtSignIsNotFollowedByIdentifier function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests annotation does not throw exception when at sign is not followed by identifier.
DocParserTest::testAnnotationDontAcceptSingleQuotes function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testAnnotationEnumeratorException function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testAnnotationEnumeratorLiteralException function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testAnnotationEnumInvalidLiteralDeclarationException function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testAnnotationEnumInvalidTypeDeclarationException function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testAnnotationTarget function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testAnnotationTargetSyntaxError function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testAnnotationThrowsExceptionWhenAtSignIsNotFollowedByIdentifierInNestedAnnotation function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests annotation throws exception when at sign is not followed by identifier in nested annotation.
DocParserTest::testAnnotationWithAttributes function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Tests annotation with attributes.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.