61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
|
name: Node
|
||
|
class_comment: '# * Represents a node in the AST.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Fabien Potencier <fabien@symfony.com>'
|
||
|
dependencies:
|
||
|
- name: Compiler
|
||
|
type: class
|
||
|
source: Symfony\Component\ExpressionLanguage\Compiler
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: nodes
|
||
|
default: '[]'
|
||
|
- name: attributes
|
||
|
default: '[]'
|
||
|
comment: "# * Represents a node in the AST.\n# *\n# * @author Fabien Potencier <fabien@symfony.com>\n\
|
||
|
# */\n# class Node\n# {\n# public array $nodes = [];\n# public array $attributes\
|
||
|
\ = [];\n# \n# /**\n# * @param array $nodes An array of nodes\n# * @param\
|
||
|
\ array $attributes An array of attributes"
|
||
|
- name: __toString
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: compile
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: compiler
|
||
|
comment: null
|
||
|
- name: evaluate
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: functions
|
||
|
- name: values
|
||
|
comment: null
|
||
|
- name: toArray
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @throws \BadMethodCallException when this node cannot be transformed
|
||
|
to an array'
|
||
|
- name: dump
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: dumpString
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: value
|
||
|
comment: null
|
||
|
- name: isHash
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: value
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\ExpressionLanguage\Compiler
|
||
|
interfaces: []
|