예제 #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"));
}
예제 #2
0
bool fieldValue::is_next(tokenizer &tokens, int i, void *data)
{
	return tokens.is_next("[", i) || sfValue::is_next(tokens, i, data);
}
예제 #3
0
bool protoDeclaration::is_next(tokenizer &tokens, int i, void *data)
{
	return tokens.is_next("PROTO", i) ||
		   tokens.is_next("EXTERNPROTO", i);
}