Documentation
¶
Overview ¶
Package parser implements a parser for GoAbU ECA rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v0.4.0
New takes as arguments the types of the local resources specified as github.com/abu-lang/goabu/memory.Resources.Types and an *ast.WorkingMemory and creates an ecarule.Parser. The parsed expressions will be added to the *ast.WorkingMemory.
If a single sync.Locker is passed as argument then the parser will acquire the lock before performing actions on the *ast.WorkingMemory. Only a single sync.Locker can be passed as argument.
func ValidateIdentifiers ¶ added in v0.4.0
ValidateIdentifiers returns a boolean value for each argument. If the value is true then the argument can be used as an identifier in GoAbU rules.
Types ¶
This section is empty.