mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-25 06:29:27 +00:00
More progress on Autotype command parsing
This commit is contained in:
@@ -40,8 +40,18 @@
|
||||
return copy;
|
||||
}
|
||||
|
||||
|
||||
- (BOOL)isValid {
|
||||
return (self.normalizedCommand != nil);
|
||||
}
|
||||
|
||||
- (NSString *)evaluatedCommand {
|
||||
static NSString *evaluated;
|
||||
if(!evaluated) {
|
||||
NSString *placeholderFilled = [self.normalizedCommand evaluatePlaceholderWithEntry:self.entry];
|
||||
evaluated = [placeholderFilled resolveReferencesWithTree:self.entry.tree];
|
||||
}
|
||||
return evaluated;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user