File: ReflectionProperty.hx

package info (click to toggle)
haxe 1%3A3.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 29,888 kB
  • sloc: ml: 106,129; ansic: 1,978; makefile: 609; cpp: 357; java: 349; cs: 323; python: 250; sh: 75; objc: 64; xml: 29
file content (28 lines) | stat: -rw-r--r-- 970 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package php.reflection;


@:native('ReflectionProperty')
extern class ReflectionProperty implements Reflector {
    @:phpClassConst static var IS_STATIC : Int;
    @:phpClassConst static var IS_: Int;
    @:phpClassConst static var IS_PROTECTED : Int;
    @:phpClassConst static var IS_PRIVATE : Int;

    var name : String;

    static function export( className:Dynamic, name:String, ?returnValue:Bool ) : String;

    function new ( cls:Dynamic, name:String ) : Void;
    function getDeclaringClass() : ReflectionClass;
    function getDocComment() : String;
    function getModifiers() : Int;
    function getName() : String;
    function getValue( ?object:{} ) : Dynamic;
    function isPrivate() : Bool;
    function isProtected() : Bool;
    function isPublic() : Bool;
    function isStatic() : Bool;
    function setAccessible ( accessible:Bool ) : Void;
    function setValue( object:{}, value:Dynamic ) : Void;
    @:phpMagic function __toString() : String;
}