C# Class ABT.FunctionType

Exibir arquivo Open project: phisiart/C-Compiler Class Usage Examples

Public Properties

Property Type Description
Args List
HasVarArgs System.Boolean
ReturnType ExprType

Public Methods

Method Description
Create ( ExprType returnType ) : FunctionType
Create ( ExprType returnType, ImmutableList args, System.Boolean hasVarArgs ) : FunctionType
Create ( ExprType ret_type, ExprType>.List args, System.Boolean is_varargs ) : FunctionType
Decl ( String name, Int32 precedence ) : String
Dump ( System.Boolean dump_args = false ) : String
EqualType ( ExprType other ) : System.Boolean
GetQualifiedType ( System.Boolean isConst, System.Boolean isVolatile ) : ExprType

Protected Methods

Method Description
FunctionType ( ExprType ret_t, List args, System.Boolean is_varargs ) : System

Method Details

Create() public static method

public static Create ( ExprType returnType ) : FunctionType
returnType ExprType
return FunctionType

Create() public static method

public static Create ( ExprType returnType, ImmutableList args, System.Boolean hasVarArgs ) : FunctionType
returnType ExprType
args ImmutableList
hasVarArgs System.Boolean
return FunctionType

Create() public static method

public static Create ( ExprType ret_type, ExprType>.List args, System.Boolean is_varargs ) : FunctionType
ret_type ExprType
args ExprType>.List
is_varargs System.Boolean
return FunctionType

Decl() public method

public Decl ( String name, Int32 precedence ) : String
name String
precedence System.Int32
return String

Dump() public method

public Dump ( System.Boolean dump_args = false ) : String
dump_args System.Boolean
return String

EqualType() public method

public EqualType ( ExprType other ) : System.Boolean
other ExprType
return System.Boolean

FunctionType() protected method

protected FunctionType ( ExprType ret_t, List args, System.Boolean is_varargs ) : System
ret_t ExprType
args List
is_varargs System.Boolean
return System

GetQualifiedType() public method

public GetQualifiedType ( System.Boolean isConst, System.Boolean isVolatile ) : ExprType
isConst System.Boolean
isVolatile System.Boolean
return ExprType

Property Details

Args public_oe property

public List Args
return List

HasVarArgs public_oe property

public Boolean,System HasVarArgs
return System.Boolean

ReturnType public_oe property

public ExprType,ABT ReturnType
return ExprType