DocParser |
class |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
A parser for docblock annotations. |
info_parser |
service |
core/core.services.yml |
Drupal\Core\Extension\InfoParser |
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. |
DocParserTest |
class |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php |
@coversDefaultClass \Drupal\Component\Annotation\Doctrine\DocParser |
Plugin::parse |
function |
core/lib/Drupal/Component/Annotation/Plugin.php |
Parses an annotation into its definition. |
InfoParser.php |
file |
core/lib/Drupal/Core/Extension/InfoParser.php |
|
TestFileParser |
class |
core/lib/Drupal/Core/Test/RunTests/TestFileParser.php |
Parses class names from PHP files without loading them. |
LogMessageParser |
class |
core/lib/Drupal/Core/Logger/LogMessageParser.php |
Parses log messages and their placeholders. |
DocParser::parse |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Parses the given docblock string for annotations. |
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::Value |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Value ::= PlainValue | FieldAssignment |
DocParser::ArrayX |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Array ::= "{" ArrayEntry {"," ArrayEntry}* [","] "}" |
InfoParserDynamic |
class |
core/lib/Drupal/Core/Extension/InfoParserDynamic.php |
Parses dynamic .info.yml files that might change during the page request. |
DocParserTest.php |
file |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php |
|
DocParser::$lexer |
property |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
The lexer. |
DocParser::Values |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Values ::= Array | Value {"," Value}* [","] |
TestFileParserTest |
class |
core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php |
@coversDefaultClass \Drupal\Core\Test\RunTests\TestFileParser
@group Test
@group RunTests |
TestFileParser.php |
file |
core/lib/Drupal/Core/Test/RunTests/TestFileParser.php |
|
FrontMatter::parse |
function |
core/lib/Drupal/Component/FrontMatter/FrontMatter.php |
Parses the source. |
DocParser::$target |
property |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Current target context. |
InfoParserException |
class |
core/lib/Drupal/Core/Extension/InfoParserException.php |
An exception thrown by the InfoParser class whilst parsing info.yml files. |
InfoParserInterface |
interface |
core/lib/Drupal/Core/Extension/InfoParserInterface.php |
Interface for classes that parses Drupal's info.yml files. |
ArrayElement::parse |
function |
core/lib/Drupal/Core/Config/Schema/ArrayElement.php |
Builds an array of contained elements. |
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::$context |
property |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
|
DocParser::$typeMap |
property |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Hash-map for handle types declaration. |
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::Constant |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Constant ::= integer | string | float | boolean |
LogMessageParserTest |
class |
core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php |
@coversDefaultClass \Drupal\Core\Logger\LogMessageParser
@group Logger |
FrontMatter::$parsed |
property |
core/lib/Drupal/Component/FrontMatter/FrontMatter.php |
The parsed source. |
LogMessageParser.php |
file |
core/lib/Drupal/Core/Logger/LogMessageParser.php |
|
TwigTransTokenParser |
class |
core/lib/Drupal/Core/Template/TwigTransTokenParser.php |
A class that defines the Twig 'trans' token parser for Drupal. |
DocParser::setTarget |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Sets current target context as bitmask. |
DocParser::ArrayEntry |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
ArrayEntry ::= Value | KeyValuePair
KeyValuePair ::= Key ("=" | ":") PlainValue | Constant
Key ::= string | integer | Constant |
InfoParserDynamic.php |
file |
core/lib/Drupal/Core/Extension/InfoParserDynamic.php |
|
_locale_parse_js_file |
function |
core/modules/locale/locale.module |
Parses a JavaScript file, extracts translatable strings, and saves them. |
PoHeader::parseHeader |
function |
core/lib/Drupal/Component/Gettext/PoHeader.php |
Parses a Gettext Portable Object file header. |
DocParser::setImports |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Sets the imports. |
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::MethodCall |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
MethodCall ::= ["(" [Values] ")"] |
DocParser::Identifier |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Identifier ::= string |
DocParser::PlainValue |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
PlainValue ::= integer | string | float | boolean | Array | Annotation |
SearchQuery::parseWord |
function |
core/modules/search/src/SearchQuery.php |
Parses a word or phrase for parseQuery(). |
InfoParserUnitTest.php |
file |
core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php |
|
StaticReflectionParser |
class |
core/modules/migrate/src/Plugin/Discovery/StaticReflectionParser.php |
Allows getting the reflection parser for the parent class. |
TestFileParserTest.php |
file |
core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php |
|
DocParser::$namespaces |
property |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
An array of default namespaces if operating in simple mode. |
DocParser::__construct |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Constructs a new DocParser. |
DocParser::syntaxError |
function |
core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php |
Generates a new syntax error. |
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. |