LibParseMeta
Functions
wordBitmapped
function wordBitmapped(uint256 seed, bytes32 word) internal pure returns (uint256 bitmap, uint256 hashed);
copyWordsFromAuthoringMeta
function copyWordsFromAuthoringMeta(AuthoringMetaV2[] memory authoringMeta) internal pure returns (bytes32[] memory);
findBestExpander
function findBestExpander(AuthoringMetaV2[] memory metas)
    internal
    pure
    returns (uint8 bestSeed, uint256 bestExpansion, AuthoringMetaV2[] memory remaining);
buildParseMetaV2
function buildParseMetaV2(AuthoringMetaV2[] memory authoringMeta, uint8 maxDepth)
    internal
    pure
    returns (bytes memory parseMeta);
lookupWord
Given the parse meta and a word, return the index and io fn pointer for
the word. If the word is not found, then exists will be false. The
caller MUST check exists before using the other return values.
function lookupWord(ParseState memory state, bytes32 word) internal pure returns (bool, uint256);
Parameters
| Name | Type | Description | 
|---|---|---|
state | ParseState | The parser state. | 
word | bytes32 | The word to lookup. | 
Returns
| Name | Type | Description | 
|---|---|---|
<none> | bool | True if the word exists in the parse meta. | 
<none> | uint256 | The index of the word in the parse meta. |