AOWP_PHPSwitchStatementElement (AOWP)

# AOWP

- Overview
- Package
- Class
- Tree
- Deprecated
- Index

Frames No frames
Summary: Field | Method | Constr Detail: Field | Method | Constr

aowp.parser.ast.AOWP_PHPSwitchStatementElement
/parser/ast/PHPSwitchStatementElement.class.php at line 19

# Class AOWP_PHPSwitchStatementElement

    AOWP_PHPElement
        └─AOWP_PHPSwitchStatementElement

public class AOWP_PHPSwitchStatementElement
extends AOWP_PHPElement

PHPSwitchStatementElement PHPのASTにおける「switch」を表すクラス 文法規則: unticked_statement

Author:
  Ryoto Naruse /

Field Summary
mixed | $caseStatements
mixed | $expr

Fields inherited from aowp.parser.ast.AOWP_PHPElement
NO_ARRAY, _line, parent, propertyIndex, propertyName

Constructor Summary
AOWP_PHPSwitchStatementElement(mixed _line, mixed expr, mixed caseStatements)

Method Summary
void | __toString()
void | addCaseStatement(mixed caseElement)
void | kind()
void | setVariableExpression(mixed variableName)

Methods inherited from aowp.parser.ast.AOWP_PHPElement
__clone, __toString, getChildren, getParent, getParentContainer, getParentPropertyIndex, getParentPropertyName, initialize, kind, line, releaseInstance, setParent, setParentInfo

## Field Detail

/parser/ast/PHPSwitchStatementElement.class.php at line 21

### caseStatements

`public mixed $caseStatements`

/parser/ast/PHPSwitchStatementElement.class.php at line 20

### expr

`public mixed $expr`

## Constructor Detail

/parser/ast/PHPSwitchStatementElement.class.php at line 23

### AOWP_PHPSwitchStatementElement

`public AOWP_PHPSwitchStatementElement(mixed _line, mixed expr, mixed caseStatements)`

## Method Detail

/parser/ast/PHPSwitchStatementElement.class.php at line 30

### __toString

`public void __toString()`

/parser/ast/PHPSwitchStatementElement.class.php at line 35

### addCaseStatement

`public void addCaseStatement(mixed caseElement)`

/parser/ast/PHPSwitchStatementElement.class.php at line 46

### kind

`public void kind()`

/parser/ast/PHPSwitchStatementElement.class.php at line 40

### setVariableExpression

`public void setVariableExpression(mixed variableName)`

# AOWP

- Overview
- Package
- Class
- Tree
- Deprecated
- Index

Frames No frames
Summary: Field | Method | Constr Detail: Field | Method | Constr