Lines Matching refs:ok
42 if op, ok := e.(*parser.Operator); ok {
46 arg0, ok := op.Args[0].(*parser.Variable)
48 if !ok || !ok1 {
60 if list, ok := e.(*parser.List); ok {
73 if op, ok := e.(*parser.Operator); ok {
79 prop, ok := mod.GetProperty(name)
80 if !ok {
83 list, ok = prop.Value.(*parser.List)
84 return list, ok
87 var list, ok = getLiteralListProperty(mod, libType)
88 if !ok {
96 if stringValue, ok := v.(*parser.String); ok && stringValue.Value == libName {
108 mod, ok := def.(*parser.Module)
109 if !ok {
115 if prop, ok := mod.GetProperty("include_dirs"); ok {