Kiwi Script
KiwiScript Interpreter
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Enumerations | Functions
KSPass.h File Reference

Macro definition for pass operation. More...

Go to the source code of this file.

Enumerations

enum  KSPassKind { KSNoPass, KSParsePass, KSTypePropagationPass }
 

Functions

const unsigned char * KSPassToString (KSPassKind src)
 Encode pass kind to string. More...
 
KSPassKind KSStringToPass (const unsigned char *src)
 Get pass kind from the string. More...
 

Detailed Description

Macro definition for pass operation.

Copyright
Copyright (C) 2014 Steel Wheels Project

Enumeration Type Documentation

enum KSPassKind

Kind of compilation passes

Function Documentation

const unsigned char* KSPassToString ( KSPassKind  src)

Encode pass kind to string.

Returns
String for the pass
Parameters
srcSource pass kind
KSPassKind KSStringToPass ( const unsigned char *  src)

Get pass kind from the string.

Returns
Pass kind. If there are no matched kind, KSNoPass is returned
Parameters
srcSource string