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.

37 lines
1.0 KiB

  1. // Object Path BNF
  2. // ================
  3. // The first part of the grammar is the ns path.
  4. // =============================================
  5. <umi_path> ::= UMICONST TOK_COLON FSLASH FSLASH <locator> FSLASH <ns_root_selector> FSLASH <component_list>;
  6. <locator> ::= IDENT ; // Machine name
  7. <locator> ::= DOT ; // current machine name
  8. <locator> ::= <>; // Machine name
  9. <ns_root_selector> ::= IDENT;
  10. <component_list> ::= <component><component_list_rest>;
  11. <component_list_rest> ::= FSLASH <component><component_list_rest>;
  12. <component_list_rest> ::= <>;
  13. <component> ::= IDENT <def_starts_with_ident>;
  14. <component> ::= DOT <key_list>;
  15. <component> ::= <GUID_PATH>;
  16. <def_starts_with_ident> ::= DOT <key_list>;
  17. <def_starts_with_ident> ::= TOK_EQUALS IDENT;
  18. <def_starts_with_ident> ::= <>;
  19. <guid_path> ::= TOK_GUILD_CONST TOK_GUID;
  20. <key_list> ::= <key><key_list_rest>;
  21. <key_list_rest> ::= TOK_COMMA <key><key_list_rest>;
  22. <key_list_rest> ::= <>;
  23. <key> ::= IDENT TOK_EQUALS IDENT;