Annotation of parser3/types.txt, revision 1.1
1.1 ! paf 1:
! 2: GET:
! 3:
! 4: $var followed by whitespace -- get variable value
! 5: ${var}followed by anything -- get variable value
! 6:
! 7: var can be of these types:
! 8: TYPE CONTAINS
! 9: unknown - empty string
! 10: string - string
! 11: hash - associates keys & values
! 12: object - associates keys & values, has pseudo fields: CLASS & BASE
! 13: class - has methods & pseudo fields: NAME, CLASS & BASE
! 14: method_ref - self+method, we can call it with params
! 15: junction - context+code, we can insert it's value, it would be autocalculated
! 16:
! 17:
! 18: GET:
! 19:
! 20: unknown - empty string
! 21:
! 22: $some_unconstructed_variable < empty string
! 23:
! 24: string - string
! 25:
! 26: $some_string_containg_variable < string value
! 27:
! 28: hash - associates keys & values
! 29:
! 30: $hash_variable.key < associated value
! 31:
! 32: object - associates keys & values, has pseudo fields: CLASS & BASE
! 33:
! 34: like hash, plus pseudo fields:
! 35: CLASS < object's class
! 36: BASE < object's base class
! 37:
! 38: class - has methods & pseudo fields: NAME, CLASS & BASE
! 39:
! 40: like hash, plus pseudo fields:
! 41: NAME < class name
! 42: CLASS < same as class itself
! 43: BASE < class' base class
! 44:
! 45: method_ref - self+method, we can call it with params
! 46:
! 47: pass
! 48:
! 49: junction - context+code, we can insert it's value, it would be autocalculated
! 50:
! 51: when getted, it's code got autocalculated in remembered context,
! 52: string result got inserted into get's context,
! 53: possible object result got inserted into remembered context
! 54:
! 55:
! 56: PUT:
! 57:
! 58: $var(value) - put value into var, unconditionally overwrite previous value
! 59:
! 60: PUT part:
! 61:
! 62: $var.part(value) - put value into var's part, unconditionally overwrite previous value
! 63:
! 64: PUT part:
! 65:
! 66: unknown - empty string
! 67:
! 68: disabled
! 69:
! 70: string - string
! 71:
! 72: disabled
! 73:
! 74: hash - associates keys & values
! 75:
! 76: $hash.key(value) < associate value with a key
! 77:
! 78: object - associates keys & values, has pseudo fields: CLASS & BASE
! 79:
! 80: like hash. pseudo vars are read-only
! 81:
! 82: class - has methods & pseudo fields: NAME, CLASS & BASE
! 83:
! 84: like hash. pseudo vars are read-only
! 85:
! 86: method_ref - self+method, we can call it with params
! 87:
! 88: disabled
! 89:
! 90: junction - context+code, we can insert it's value, it would be autocalculated
! 91:
! 92: disabled
! 93:
! 94: CALL: TODO
E-mail: