mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-12 01:19:47 +01:00
37 lines
696 B
Plaintext
37 lines
696 B
Plaintext
Abstract class
|
|
-----
|
|
<?php
|
|
|
|
abstract class A {
|
|
public function a() {}
|
|
abstract public function b();
|
|
}
|
|
-----
|
|
array(
|
|
0: Stmt_Class(
|
|
type: 16
|
|
name: A
|
|
extends: null
|
|
implements: array(
|
|
)
|
|
stmts: array(
|
|
0: Stmt_ClassMethod(
|
|
type: 1
|
|
byRef: false
|
|
name: a
|
|
params: array(
|
|
)
|
|
stmts: array(
|
|
)
|
|
)
|
|
1: Stmt_ClassMethod(
|
|
type: 17
|
|
byRef: false
|
|
name: b
|
|
params: array(
|
|
)
|
|
stmts: null
|
|
)
|
|
)
|
|
)
|
|
) |