Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4 KiB

  1. <Parse> ::= BACKSLASH <ns_or_server>;
  2. <Parse> ::= IDENT <ns_or_class>;
  3. <Parse> ::= COLON <ns_or_class>;
  4. <ns_or_server> ::= IDENT <ns_list>;
  5. <ns_or_class> ::= COLON <ident_becomes_ns> <objref> <optional_scope_class_list>;
  6. <ns_or_class> ::= BACKSLASH <ident_becomes_ns> <ns_list>;
  7. <ns_or_class> ::= <ident_becomes_ns> <objref_rest>;
  8. <ns_or_class> ::= <ident_becomes_class> <objref_rest>;
  9. <optional_scope_class_list> ::= COLON <objref> <optional_scope_class_list>;
  10. <optional_scope_class_list> ::= <>;
  11. <objref> ::= IDENT <objref_rest>; // IDENT is classname
  12. <ns_list> ::= IDENT <ns_list_rest>;
  13. <ident_becomes_ns> ::= <>; // <initial_ident> becomes a namespace
  14. <ident_becomes_class> ::= <>; // <initial_ident> becomes the class
  15. <objref_rest> ::= EQUALS <key_const>;
  16. <objref_rest> ::= EQUALS AT; // = @
  17. <objref_rest> ::= DOT <keyref_list>;
  18. <objref_rest> ::= <>;
  19. <ns_list_rest> ::= BACKSLASH <ns_list>;
  20. <ns_list_rest> ::= COLON <objref> <optional_scope_class_list>;
  21. <ns_list_rest> ::= <>;
  22. <key_const> ::= STRING_CONST;
  23. <key_const> ::= INTEGRAL_CONST;
  24. <key_const> ::= REAL_CONST;
  25. <key_const> ::= IDENT; // Where IDENT is "OBJECT" for singleton classes
  26. <keyref_list> ::= <keyref> <keyref_term>;
  27. <keyref> ::= <propname> EQUALS <key_const>;
  28. <keyref_term> ::= COMMA <keyref_list>; // Used for compound keys
  29. <keyref_term> ::= <>;
  30. <propname> ::= IDENT;