added a new class variable declarator 'var' or 'variable'

supported  | .. | style declartion at the class level.
added the RDONLY flag to the object header
wrote some code to support default values for class-level variables such as instance variables
This commit is contained in:
hyunghwan.chung
2017-04-19 16:46:44 +00:00
parent a768bd8803
commit 4656bf128e
21 changed files with 864 additions and 476 deletions

View File

@@ -1,6 +1,6 @@
class(#pointer) Context(Apex)
{
dcl sender ip sp ntmprs.
var sender, ip, sp, ntmprs.
method sender
{
@@ -44,7 +44,7 @@ block context...
class(#pointer) MethodContext(Context)
{
dcl method receiver home origin.
var method, receiver, home, origin.
method pc
{
@@ -101,7 +101,7 @@ class(#pointer) MethodContext(Context)
class(#pointer) BlockContext(Context)
{
dcl nargs source home origin.
var nargs, source, home, origin.
method vargCount
{
@@ -328,8 +328,8 @@ class(#pointer) BlockContext(Context)
class(#pointer) CompiledMethod(Object)
{
## dcl owner name preamble preamble_data_1 preamble_data_2 ntmprs nargs code source.
dcl owner name preamble preamble_data_1 preamble_data_2 ntmprs nargs source.
## var owner, name, preamble, preamble_data_1, preamble_data_2, ntmprs, nargs, code, source.
var owner, name, preamble, preamble_data_1, preamble_data_2, ntmprs, nargs, source.
method preamble
{