View/Edit #35:parse_keyexp

Switch to edit mode.

Name(s): parse_keyexp
1:  "Grammar for key expressions:"
2:  "  E ::= A        "
3:  "     |  E || A   "
4:  "     |  E && A   "
5:  "  A ::= ( E )    "
6:  "     |  ! A      "
7:  "     |  object   "
8:  "     |  ? object "
9:  "     |  ^ object "
10: if (!$su:trim(args[1]))
11:   return 0
12: endif
13: this.input_string = args[1]
14: this.input_length = length(args[1])
15: this.input_index = 1
16: this.player = args[2]
17: return this:parse_E()
18: "Last modified by Dax (#789) on Fri Jul 19 12:36:57 2002 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]