private void CompileByteCollection()
{
IList<byte> bytes = new List<byte>();
Token token = this.NextToken();
while (token != null && !(token.Type == TokenType.Punctuation && token.Value == "]"))
{
switch (token.Type)
{
case TokenType.Integer:
bytes.Add((byte)Convert.ToInt32(token.Value));
break;
default:
throw new ParserException("Expected ']'");
}
token = this.NextToken();
}
this.block.CompileGetConstant(bytes.ToArray());
}