public StatementToken CreateToken()
        {
            var currToken = SyntaxParser.GetCurrentLex();
            DeclarationToken declarationToken = null;
            MethodToken      methodToken      = null;

            if (currToken.Value == "val")
            {
                declarationToken = new DeclarationToken().CreateToken();
                SyntaxParser.Parse(";", LexType.DELIMETER);
                return(new StatementToken(declarationToken));
            }
            else if (SyntaxParser.GetCurrentLex().LexType == LexType.IDENTIFIER)
            {
                methodToken = new MethodToken().CreateToken();
                SyntaxParser.Parse(";", LexType.DELIMETER);
                return(new StatementToken(methodToken));
            }

            return(null);
        }
 public StatementToken(DeclarationToken declarationToken)
 {
     DeclarationToken = declarationToken;
 }