1 package org
.tianocore
.migration
;
3 import java
.util
.regex
.*;
6 Guid (String r8
, String t
, String n
, String r9
, String gv
, String p
) {
14 Guid (String
[] linecontext
, String t
) {
15 r8name
= linecontext
[1];
17 name
= linecontext
[0];
18 r9name
= linecontext
[2];
19 guidvalue
= linecontext
[3];
20 pack
= linecontext
[4];
26 public String guidvalue
;
29 public static Pattern ptnguid
= Pattern
.compile("g\\w*Guid");
31 public static String
register(Matcher mtr
, ModuleInfo mi
, Database db
) {
36 if (db
.hasGuid(temp
)) { // only changed guids registered, because both changed and not changed guids are included in database
37 type
= db
.getGuidType(temp
);
38 if (type
.matches("Protocol")) {
39 mi
.protocol
.add(temp
);
40 } else if (type
.matches("Ppi")) {
42 } else if (type
.matches("Guid")) {