dpDefaultSkip: Default skip function for darsing grammar

dpDefaultSkipR Documentation

Default skip function for darsing grammar

Description

This function is to determine if children are parsed or skipped. By default, all children are parsed.

Usage

dpDefaultSkip(name, value, pos, depth)

Arguments

name

Production Name

value

Production Value

pos

terminal position. Negative values are parsed before children are parsed. A value of -1 means there are no children nodes. A value of -2 means there are children nodes. Otherwise, the terminal position is numbered starting at 0.

depth

Parsing Depth

Value

FALSE. If a comparable function returns TRUE, the children are not parsed.

Author(s)

Matthew L. Fidler


dparser documentation built on March 31, 2023, 6:53 p.m.