Searched refs:cases (Results 1 – 14 of 14) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Switch_.php | 11 public array $cases; variable in PhpParser\\Node\\Stmt\\Switch_ 17 * @param Case_[] $cases Case list 20 public function __construct(Node\Expr $cond, array $cases, array $attributes = []) { argument 23 $this->cases = $cases;
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | switch.test | 26 cases: array( 58 cases: array( 68 cases: array( 78 cases: array(
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | insertionOfNullable.test | 5 // TODO: The result spacing isn't always optimal. We may want to skip whitespace in some cases. 101 // TODO: The result spacing isn't always optimal. We may want to skip whitespace in some cases.
|
/PHP-Parser/test/code/parser/stmt/generator/ |
H A D | basic.test | 191 cases: array(
|
/PHP-Parser/ |
H A D | UPGRADE-1.0.md | 39 cases.
|
H A D | UPGRADE-3.0.md | 6 * The specific details of the node representation have changed in some cases, primarily to 82 parser will be able to recover from the error in both cases. For this reason, this change will
|
H A D | CHANGELOG.md | 224 * Fixed various cases where `\r` at the end of a doc string could be incorrectly merged into a CRLF 300 * Added builders for enums and enum cases. 313 * Support reserved keywords as enum cases. 647 * In some rare, pathological cases flexible heredoc/nowdoc strings change the interpretation of 651 and some cases which we do not expect to occur in practice (such as flexible doc strings being 929 * Error recovery from missing semicolons is now supported in more cases. 1185 cases. (#227)
|
H A D | UPGRADE-5.0.md | 42 In all cases, the PHP version is a fairly weak hint that is only used on a best-effort basis. The p… 44 …p` will lead to a parse error. However, `final public const X = Y;` will be accepted in both cases.
|
/PHP-Parser/doc/component/ |
H A D | AST_builders.markdown | 20 * properties, class constants and enum cases
|
H A D | Walking_the_AST.markdown | 212 especially if you have more than one visitor. In some cases, it is possible to avoid a full 235 discounting exotic cases like conditionally defining a class two times), you can stop traversal
|
H A D | Lexer.markdown | 83 > tokens. However, the general idea behind the example still applies in other cases.
|
/PHP-Parser/doc/ |
H A D | 0_Introduction.markdown | 39 interpretation. In such cases, the PHP 7 AST will always be constructed (using `($$foo)[0]`
|
H A D | 2_Usage_of_basic_components.markdown | 44 Which version you should target depends on your use case. In many cases you will want to use the 49 The `createXYZ()` methods optionally accept an array of lexer options. Some use cases that require 386 know which function they are referring to. In most cases this is a non-issue as the global functions
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 942 . $this->pStmts($node->cases) . $this->nl . '}';
|
Completed in 26 milliseconds