StatementAST.py revision 6657:ef5fae93a3b2
12600SN/A# Copyright (c) 2009 The Hewlett-Packard Development Company
22600SN/A# All rights reserved.
32600SN/A#
42600SN/A# Redistribution and use in source and binary forms, with or without
52600SN/A# modification, are permitted provided that the following conditions are
62600SN/A# met: redistributions of source code must retain the above copyright
72600SN/A# notice, this list of conditions and the following disclaimer;
82600SN/A# redistributions in binary form must reproduce the above copyright
92600SN/A# notice, this list of conditions and the following disclaimer in the
102600SN/A# documentation and/or other materials provided with the distribution;
112600SN/A# neither the name of the copyright holders nor the names of its
122600SN/A# contributors may be used to endorse or promote products derived from
132600SN/A# this software without specific prior written permission.
142600SN/A#
152600SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
162600SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
172600SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
182600SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
192600SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
202600SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
212600SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
222600SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
232600SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
242600SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
252600SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
262600SN/A
272665Ssaidi@eecs.umich.edufrom slicc.ast.AST import AST
282665Ssaidi@eecs.umich.edu
292600SN/Aclass StatementAST(AST):
302600SN/A    def __init__(self, slicc, pairs=None):
318229Snate@binkert.org        super(StatementAST, self).__init__(slicc, pairs)
322600SN/A
336329Sgblack@eecs.umich.edu    def findResources(self, resources):
342600SN/A        pass
352680Sktlim@umich.edu