Example #1
0
bool statement::is_next(tokenizer &tokens, int i, void *data)
{
	return (node_id::is_next(tokens, i, data) ||
			tokens.is_next("subgraph") ||
			tokens.is_next("graph") ||
			tokens.is_next("node") ||
			tokens.is_next("edge"));
}
Example #2
0
bool fieldValue::is_next(tokenizer &tokens, int i, void *data)
{
	return tokens.is_next("[", i) || sfValue::is_next(tokens, i, data);
}
Example #3
0
bool protoDeclaration::is_next(tokenizer &tokens, int i, void *data)
{
	return tokens.is_next("PROTO", i) ||
		   tokens.is_next("EXTERNPROTO", i);
}