class Token
Same name in this branch
- 11.1.x vendor/doctrine/lexer/src/Token.php \Doctrine\Common\Lexer\Token
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Token.php \PhpParser\Token
- 11.1.x vendor/twig/twig/src/Token.php \Twig\Token
- 11.1.x vendor/symfony/css-selector/Parser/Token.php \Symfony\Component\CssSelector\Parser\Token
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Token.php \Peast\Syntax\Token
- 11.1.x core/lib/Drupal/Core/Render/Element/Token.php \Drupal\Core\Render\Element\Token
- 11.1.x core/lib/Drupal/Core/Utility/Token.php \Drupal\Core\Utility\Token
Hierarchy
- class \TheSeer\Tokenizer\Token
Expanded class hierarchy of Token
15 string references to 'Token'
- AbstractPatternSniff::createTokenPattern in vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractPatternSniff.php - Creates a token pattern.
- AbstractPatternSniff::getPatternTokenTypes in vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractPatternSniff.php - Returns the token types that the specified pattern is checking for.
- AbstractPatternSniff::processPattern in vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractPatternSniff.php - Processes the pattern and verifies the code at $stackPtr.
- BatchStorage::schemaDefinition in core/
lib/ Drupal/ Core/ Batch/ BatchStorage.php - Defines the schema for the batch table.
- ContentTranslationHandler::entityFormSharedElements in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Process callback: determines which elements get clue in the form.
File
-
vendor/
theseer/ tokenizer/ src/ Token.php, line 4
Namespace
TheSeer\TokenizerView source
class Token {
/** @var int */
private $line;
/** @var string */
private $name;
/** @var string */
private $value;
/**
* Token constructor.
*/
public function __construct(int $line, string $name, string $value) {
$this->line = $line;
$this->name = $name;
$this->value = $value;
}
public function getLine() : int {
return $this->line;
}
public function getName() : string {
return $this->name;
}
public function getValue() : string {
return $this->value;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Token::$line | private | property | @var int |
Token::$name | private | property | @var string |
Token::$value | private | property | @var string |
Token::getLine | public | function | |
Token::getName | public | function | |
Token::getValue | public | function | |
Token::__construct | public | function | Token constructor. |