Documentation ¶
Overview ¶
Package cmpd contains utilities for working with compound nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lambda ¶
Lambda returns a lambda primary node and true if that's the only child of the compound node. Otherwise it returns nil and false.
func Primary ¶
Primary returns a primary node and true if that's the only child of the compound node. Otherwise it returns nil and false.
func StringLiteral ¶
StringLiteral returns the value of a string literal and true if that's the only child of the compound node. Otherwise it returns "" and false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.