CVUParser
class CVUParser
Undocumented
-
Undocumented
Declaration
Swift
let context: MemriContext
-
Undocumented
Declaration
Swift
let tokens: [CVUToken]
-
Undocumented
Declaration
Swift
var index: Int
-
Undocumented
Declaration
Swift
var lastToken: CVUToken?
-
Undocumented
Declaration
Swift
init( _ tokens: [CVUToken], _ context: MemriContext, lookup: @escaping (ExprLookupNode, ViewArguments?) throws -> Any?, execFunc: @escaping (ExprLookupNode, [Any?], ViewArguments?) throws -> Any? )
-
Undocumented
Declaration
Swift
func peekCurrentToken() -> CVUToken
-
Undocumented
Declaration
Swift
func popCurrentToken() -> CVUToken
-
Undocumented
Declaration
Swift
func parse() throws -> [CVUParsedDefinition]
-
Undocumented
Declaration
Swift
func parseViewDSL() throws -> CVUParsedDefinition
-
Undocumented
Declaration
Swift
func parsePrimary(_: Bool = false) throws -> CVUParsedDefinition
-
Undocumented
Declaration
Swift
func parseIdentifierSelector() throws -> CVUParsedDefinition
-
Undocumented
Declaration
Swift
func parseNamedIdentifierSelector() throws -> CVUParsedDefinition
-
Undocumented
Declaration
Swift
func parseStringSelector() throws -> CVUParsedDefinition
-
Undocumented
Declaration
Swift
func parseBracketsSelector(_ token: CVUToken? = nil) throws -> CVUParsedDefinition
-
Undocumented
Declaration
Swift
func createExpression(_ code: String, startInStringMode: Bool = false) -> Expression
-
Undocumented
Declaration
Swift
func parseDict(_: String? = nil) throws -> [String : Any?]
-
Undocumented
Declaration
Swift
func parseDefinition(_ selector: CVUParsedDefinition) throws -> CVUParsedDefinition
-
Undocumented
Declaration
Swift
let knownActions: [String : String]
-
Undocumented
Declaration
Swift
let knownUIElements: [String : UIElementFamily]