<s> class MyrialCompileException ( Exception ) : <EOL> pass <EOL> class MyrialUnexpectedEndOfFileException ( MyrialCompileException ) : <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" <EOL> class MyrialParseException ( MyrialCompileException ) : <EOL> def __init__ ( self , token ) : <EOL> self . token = token <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . token . value , <EOL> self . token . lineno ) <EOL> class MyrialScanException ( MyrialCompileException ) : <EOL> def __init__ ( self , token ) : <EOL> self . token = token <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . token . value , <EOL> self . token . lineno ) <EOL> class DuplicateFunctionDefinitionException ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , lineno ) : <EOL> self . funcname = funcname <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . funcname , <EOL> self . lineno ) <EOL> class NoSuchFunctionException ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , lineno ) : <EOL> self . funcname = funcname <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . funcname , <EOL> self . lineno ) <EOL> class ReservedTokenException ( MyrialCompileException ) : <EOL> def __init__ ( self , token , lineno ) : <EOL> self . token = token <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . token , <EOL> self . lineno ) <EOL> class InvalidArgumentList ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , expected_args , lineno ) : <EOL> self . funcname = funcname <EOL> self . expected_args = expected_args <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( <EOL> self . funcname , '<STR_LIT:U+002C>' . join ( self . expected_args ) , self . lineno ) <EOL> class UndefinedVariableException ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , var , lineno ) : <EOL> self . funcname = funcname <EOL> self . var = var <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( <EOL> self . var , self . funcname , self . lineno ) <EOL> class DuplicateVariableException ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , lineno ) : <EOL> self . funcname = funcname <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( <EOL> self . funcname , self . lineno ) <EOL> class BadApplyDefinitionException ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , lineno ) : <EOL> self . funcname = funcname <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( <EOL> self . funcname , self . lineno ) <EOL> class UnnamedStateVariableException ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , lineno ) : <EOL> self . funcname = funcname <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( <EOL> self . funcname , self . lineno ) <EOL> class IllegalWildcardException ( MyrialCompileException ) : <EOL> def __init__ ( self , funcname , lineno ) : <EOL> self . funcname = funcname <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( <EOL> self . funcname , self . lineno ) <EOL> class NestedTupleExpressionException ( MyrialCompileException ) : <EOL> def __init__ ( self , lineno ) : <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % self . lineno <EOL> class InvalidEmitList ( MyrialCompileException ) : <EOL> def __init__ ( self , function , lineno ) : <EOL> self . function = function <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( <EOL> self . function , self . lineno ) <EOL> class IllegalColumnNamesException ( MyrialCompileException ) : <EOL> def __init__ ( self , lineno ) : <EOL> self . lineno = lineno <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % self . lineno <EOL> class ColumnIndexOutOfBounds ( Exception ) : <EOL> pass <EOL> class SchemaMismatchException ( MyrialCompileException ) : <EOL> def __init__ ( self , op_name ) : <EOL> self . op_name = op_name <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % self . op_name <EOL> class NoSuchRelationException ( MyrialCompileException ) : <EOL> def __init__ ( self , relname ) : <EOL> self . relname = relname <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % self . relname </s>
