PHP
Scopes
Supported facets
These facets are supportedArgument or parameter
- Actual constructor (iteration): Iteration scope for arguments in a constructor call: the argument list. The domain should be the entire constructor call.
- Actual constructor multi line: A multi line argument in a constructor call. Insertion delimiter should include new line.
- Actual constructor single line: A single line argument in a constructor call
- Actual (iteration): Iteration scope for arguments in a function call: the argument list. The domain should be the entire function call.
- Actual method (iteration): Iteration scope for arguments in a method call: the argument list. The domain should be the entire method call.
- Actual method multi line: A multi line argument in a method call. Insertion delimiter should include new line.
- Actual method single line: A single line argument in a method call
- Actual multi line: A multiline argument in a function call. Insertion delimiter should include new line.
- Actual single line: A single line argument in a function call
- Formal constructor (iteration): Iteration scope for formal parameters in a constructor declaration: the parameter list. The domain should be the entire constructor.
- Formal constructor multi line: A multi line parameter in a constructor declaration. Insertion delimiter should include new line.
- Formal constructor single line: A single line parameter in a constructor declaration
- Formal (iteration): Iteration scope for formal parameters in a function declaration: the parameters list. The domain should be the entire function.
- Formal method (iteration): Iteration scope for formal parameters in a method declaration: the parameter list. The domain should be the entire method.
- Formal method multi line: A multi line parameter in a class method declaration. Insertion delimiter should include new line.
- Formal method single line: A single line parameter in a class method declaration
- Formal multi line: A multi line parameter in a function declaration. Insertion delimiter should include new line.
- Formal single line: A single line parameter in a function declaration
Collection key
- Map pair: Key (LHS) of a key-value pair of a map
Comment
- Block: A block comment
- Line: A line comment
Disqualify delimiter
- Disqualify delimiter: Used to disqualify a token from being treated as a surrounding pair delimiter. This will usually be operators containing `>` or `<`, eg `<`, `<=`, `->`, etc
Name
- Argument formal: Name of a parameter in a function declaration
- Argument formal (iteration): Iteration scope for names of formal parameters in a function declaration: the parameters list. The domain should be the entire function.
- Assignment: Name (LHS) of an assignment
- Field class: Name (LHS) of a field in a class
- Variable: Name (LHS) of a variable declaration
Text fragment
- String single line: Text fragment consisting of a single-line string
Type
- Argument formal: Type of formal parameter in a function declaration
- Argument formal (iteration): Iteration scope for types of formal parameters in a function declaration: the parameters list. The domain should be the entire function.
- Cast: A type cast
- Field class: Type of field in a class
Value
- Assignment: Value (RHS) of an assignment
- Map pair: Value (RHS) of a key-value pair in a map
- Return: Return value of a function
- Variable: Value (RHS) of a variable declaration
- Yield: Value of a yield statement
Unspecified facets
These facets are unspecified+ Click to expand