Skip to content

Create reader for value/member declaration #2

@devcdcc

Description

@devcdcc

You must create a reader that supports the variables declaration.
Example:

a: Boolean = True
a = True
var a = True
not : (b: Boolean) => Boolean = !b


fatalErrorResolver: Map[Platform, ErrorCode => Boolean] = ??? // used for unimplemented elements

// let's suppose we need to integrate with multiple platforms and those platforms do have their own errors code, so we need to retrieve a function that validates of the given error is a fatal error.

fatalErrorSelector : (platform: Platform) => ErrorCode=> Boolean = fatalErrorResolver(platform) 
//the previous function is a function that returns another function.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions