package
1.6.14
Repository: https://github.com/getgauge/gauge.git
Documentation: pkg.go.dev

# Functions

AddConcept adds the concept in the ConceptDictionary.
AddConcepts parses the given concept file and adds each concept to the concept dictionary.
ConvertToStepText accumulates fragments of a step, (ex.
CreateConceptsDictionary generates a ConceptDictionary which is map of concept text to concept.
CreateStepUsingLookup generates gauge steps from step token and args lookup.
CreateStepValue converts a Step to StepValue.
ExtractStepArgsFromToken extracts step args(Static and Dynamic) from the given step token.
ExtractStepValueAndParams parses a stepText string into a StepValue struct.
FilterTableRelatedScenarios filters Scenarios that are using dynamic params from data table.
GetResolvedDataTablerows resolves any dynamic parameters in a table cell.
GetSpecsForDataTableRows creates a spec for each data table row.
GetUnescapedString uses the go escape sequences to escape control characters and non printable characters.
HandleParseResult collates list of parse result and determines if gauge has to break flow.
ParseConcepts creates concept dictionary and concept parse result.
ParseSpecs parses specs in the give directory and gives specification and pass/fail status, used in validation.
PopulateConceptDynamicParams creates a copy of the lookup and populates table values.
Resolve takes a step, a lookup and updates the target after reconciling the dynamic paramters from the given lookup.
ValidateConcepts ensures that there are no circular references within.

# Structs

ConceptParser is used for parsing concepts.
ParseError holds information about a parse failure.
ParseResult is a collection of parse errors and warnings in a file.
SpecParser is responsible for parsing a Specification.
Token defines the type of entity identified by the lexer.
Warning is used to indicate discrepancies that do not necessarily need to break flow.