forked from jphp-group/jphp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc Plugin for jppm, imrpove parser ext, improve module class, fix bu…
…g in jphp runtime.
- Loading branch information
Showing
25 changed files
with
1,055 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
exts/jphp-parser-ext/src/main/java/org/develnext/jphp/parser/classes/PropertyRecord.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package org.develnext.jphp.parser.classes; | ||
|
||
import org.develnext.jphp.parser.ParserExtension; | ||
import php.runtime.Memory; | ||
import php.runtime.annotation.Reflection.Getter; | ||
import php.runtime.annotation.Reflection.Namespace; | ||
import php.runtime.annotation.Reflection.Setter; | ||
import php.runtime.env.Environment; | ||
import php.runtime.lang.BaseObject; | ||
import php.runtime.reflection.ClassEntity; | ||
|
||
@Namespace(ParserExtension.NS) | ||
public class PropertyRecord extends AbstractSourceRecord { | ||
private String name; | ||
protected ClassRecord classRecord; | ||
protected boolean isStatic; | ||
|
||
public PropertyRecord(Environment env) { | ||
super(env); | ||
} | ||
|
||
public PropertyRecord(Environment env, ClassEntity clazz) { | ||
super(env, clazz); | ||
} | ||
|
||
@Getter | ||
public ClassRecord getClassRecord() { | ||
return classRecord; | ||
} | ||
|
||
@Setter | ||
public void setClassRecord(ClassRecord classRecord) { | ||
this.classRecord = classRecord; | ||
} | ||
|
||
@Getter | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
@Setter | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
@Getter | ||
public boolean isStatic() { | ||
return isStatic; | ||
} | ||
|
||
@Setter | ||
public void setStatic(boolean aStatic) { | ||
isStatic = aStatic; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.