[This is preliminary documentation and is subject to change.]
Adds one or more items to the RHS of this production.
Declaration Syntax
C# |
public void Add( params Object[] addedElements )
Parameters
- addedElements (array<Object>[]()[][])
- The items to be added. These can be any mixture of the types detailed in the Remarks section.
Remarks
You can supply these as a list of separate items or an array.
You can supply a number of different types of item. If you supply an Element, this will be added directly. If you supply an array of
items (as one of the params parameters) this will recurse, calling this
method with the array. If you supply a Production, then a
non-terminal Element is added referencing that production. If you supply a
string, then a terminal Element is added referencing that string. The
string in this case is added to the parser symbol table if it is not
already in it.