Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
DocLexer::T_STRING constant core/lib/Drupal/Component/Annotation/Doctrine/DocLexer.php
DocParser class core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php A parser for docblock annotations.
DocParser.php file core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php This class is a near-copy of Doctrine\Common\Annotations\DocParser, which is
part of the Doctrine project: <http://www.doctrine-project.org>. It was
copied from version 1.2.7.
DocParser::$annotationMetadata property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Hash-map for caching annotation metadata.
DocParser::$classExists property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php This hashmap is used internally to cache results of class_exists()
look-ups.
DocParser::$classIdentifiers property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php An array of all valid tokens for a class name.
DocParser::$context property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
DocParser::$ignoredAnnotationNames property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php A list with annotations that are not causing exceptions when not resolved to an annotation class.
DocParser::$ignoreNotImportedAnnotations property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Whether annotations that have not been imported should be ignored.
DocParser::$imports property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Hashmap containing all use-statements that are to be used when parsing
the given doc block.
DocParser::$isNestedAnnotation property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Flag to control if the current annotation is nested or not.
DocParser::$lexer property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php The lexer.
DocParser::$metadataParser property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Doc parser used to collect annotation target.
DocParser::$namespaces property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php An array of default namespaces if operating in simple mode.
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

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