zetasql/resolved_ast/gen_resolved_ast.py
def EnumScalarType(enum_name, node_name):
  """Create a ScalarType for enums defined in resolved_ast_enums.proto.

  Args:
    enum_name: name of the enum.
    node_name: name of the ResolvedNode that this enum belongs to.
  Returns:
    The ScalarType.
  """
  return ScalarType(
      ctype=enum_name,
      proto_type='%sEnums.%s' % (node_name, enum_name),
      has_proto_setter=True,
      is_enum=True,
      scoped_ctype='%s::%s' % (node_name, enum_name))
Create a ScalarType for enums defined in resolved_ast_enums.proto.

  Args:
    enum_name: name of the enum.
    node_name: name of the ResolvedNode that this enum belongs to.
  Returns:
    The ScalarType.
  
Create a ScalarType for enums defined in resolved_ast_enums.proto.
Create a ScalarType for enums defined in resolved_ast_enums . proto .
def EnumScalarType(enum_name, node_name):
  return ScalarType(
      ctype=enum_name,
      proto_type='%sEnums.%s' % (node_name, enum_name),
      has_proto_setter=True,
      is_enum=True,
      scoped_ctype='%s::%s' % (node_name, enum_name))
def EnumScalarType ( enum_name , node_name ) : return ScalarType ( ctype = enum_name , proto_type = '%sEnums.%s' % ( node_name , enum_name ) , has_proto_setter = True , is_enum = True , scoped_ctype = '%s::%s' % ( node_name , enum_name ) )
Create a ScalarType for enums defined in resolved_ast_enums.proto.
Create a ScalarType for enums defined in resolved_ast_enums . proto .
"""Create a ScalarType for enums defined in resolved_ast_enums.proto.

  Args:
    enum_name: name of the enum.
    node_name: name of the ResolvedNode that this enum belongs to.
  Returns:
    The ScalarType.
  """
None
enum_name
name of the enum.
name of the enum .
node_name
name of the ResolvedNode that this enum belongs to.
name of the ResolvedNode that this enum belongs to .