C# Class Unicoen.Languages.C.ProgramGenerators.CProgramGeneratorHelper

Exibir arquivo Open project: UnicoenProject/UNICOEN Class Usage Examples

Public Properties

Property Type Description
Sign2BinaryOperator UnifiedBinaryOperator>.Dictionary
Sign2PrefixUnaryOperator UnifiedUnaryOperator>.Dictionary

Public Methods

Method Description
CreateAbstractDeclarator ( System.Xml.Linq.XElement node ) : UnifiedElement
CreateAbstractDeclaratorSuffix ( System.Xml.Linq.XElement node ) : UnifiedElement
CreateAdditiveExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateAndExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateArgumentExpressionList ( System.Xml.Linq.XElement node ) : UnifiedSet
CreateAssignmentExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateAssignmentOperator ( System.Xml.Linq.XElement node ) : UnifiedBinaryOperator
CreateCastExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateCharacterLiteral ( System.Xml.Linq.XElement node ) : UnifiedLiteral
CreateCompoundStatement ( System.Xml.Linq.XElement node ) : UnifiedBlock
CreateConditionalExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateConstant ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateConstantExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateDecimalLiteral ( System.Xml.Linq.XElement node ) : UnifiedIntegerLiteral
CreateDeclaration ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateDeclarationSpecifiers ( System.Xml.Linq.XElement node ) : UnifiedExpression>.Tuple
CreateDeclarator ( System.Xml.Linq.XElement node ) : UnifiedSet>.Tuple
CreateDeclaratorSuffix ( System.Xml.Linq.XElement node ) : UnifiedSet
CreateDirectAbstractDeclarator ( System.Xml.Linq.XElement node ) : UnifiedElement
CreateDirectDeclarator ( System.Xml.Linq.XElement node ) : UnifiedSet>.Tuple
CreateEnumSpecifier ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateEnumerator ( System.Xml.Linq.XElement node ) : UnifiedVariableDefinition
CreateEnumeratorList ( System.Xml.Linq.XElement node ) : UnifiedBlock
CreateEqualityExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateExclusiveOrExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateExpressionStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateExternalDeclaration ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateFloatingPointLiteral ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateFunctionDefinition ( System.Xml.Linq.XElement node ) : UnifiedFunctionDefinition
CreateHexLiteral ( System.Xml.Linq.XElement node ) : UnifiedIntegerLiteral
CreateIdentifierList ( System.Xml.Linq.XElement node ) : IEnumerable
CreateInclusiveOrExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateInitDeclarator ( System.Xml.Linq.XElement node ) : UnifiedExpression>.Tuple
CreateInitDeclaratorList ( System.Xml.Linq.XElement node ) : UnifiedExpression>>.IEnumerable
CreateInitializer ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateInitializerList ( System.Xml.Linq.XElement node ) : IEnumerable
CreateIterationStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateJumpStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateLogicalAndExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateLogicalOrExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateLvalue ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateMultiplicativeExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateOctalLiteral ( System.Xml.Linq.XElement node ) : UnifiedIntegerLiteral
CreateParameterDeclaration ( System.Xml.Linq.XElement node ) : UnifiedParameter
CreateParameterList ( System.Xml.Linq.XElement node ) : UnifiedSet
CreateParameterTypeList ( System.Xml.Linq.XElement node ) : UnifiedSet
CreatePointer ( System.Xml.Linq.XElement node ) : UnifiedElement
CreatePostfixExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreatePrimaryExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateRelationalExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateSelectionStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateShiftExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateSpecifierQualifierList ( System.Xml.Linq.XElement node ) : UnifiedType>.Tuple
CreateStatement ( System.Xml.Linq.XElement node ) : IEnumerable
CreateStatementList ( System.Xml.Linq.XElement node ) : IEnumerable
CreateStorageClassSpecifier ( System.Xml.Linq.XElement node ) : UnifiedModifier
CreateStringLiteral ( System.Xml.Linq.XElement node ) : UnifiedLiteral
CreateStructDeclaration ( System.Xml.Linq.XElement node ) : UnifiedVariableDefinitionList
CreateStructDeclarationList ( System.Xml.Linq.XElement node ) : UnifiedBlock
CreateStructDeclarator ( System.Xml.Linq.XElement node ) : UnifiedExpression>.Tuple
CreateStructDeclaratorList ( System.Xml.Linq.XElement node ) : UnifiedExpression>>.IEnumerable
CreateStructOrUnion ( System.Xml.Linq.XElement node ) : string
CreateStructOrUnionSpecifier ( System.Xml.Linq.XElement node ) : UnifiedType
CreateTranslationUnit ( System.Xml.Linq.XElement node ) : UnifiedProgram
CreateTypeId ( System.Xml.Linq.XElement node ) : UnifiedType
CreateTypeName ( System.Xml.Linq.XElement node ) : UnifiedType
CreateTypeQualifier ( System.Xml.Linq.XElement node ) : UnifiedModifier
CreateTypeSpecifier ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateUnaryExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
CreateUnaryOperator ( System.Xml.Linq.XElement node ) : UnifiedElement

Private Methods

Method Description
CProgramGeneratorHelper ( ) : System
CreateCaseOrDefault ( System.Xml.Linq.XElement node ) : UnifiedCase
CreateFloatLiteral ( System.Xml.Linq.XElement node, double number ) : UnifiedFractionLiteral
CreateIntegerLiteral ( System.Xml.Linq.XElement node, BigInteger integer ) : UnifiedIntegerLiteral

Method Details

CreateAbstractDeclarator() public static method

public static CreateAbstractDeclarator ( System.Xml.Linq.XElement node ) : UnifiedElement
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedElement

CreateAbstractDeclaratorSuffix() public static method

public static CreateAbstractDeclaratorSuffix ( System.Xml.Linq.XElement node ) : UnifiedElement
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedElement

CreateAdditiveExpression() public static method

public static CreateAdditiveExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateAndExpression() public static method

public static CreateAndExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateArgumentExpressionList() public static method

public static CreateArgumentExpressionList ( System.Xml.Linq.XElement node ) : UnifiedSet
node System.Xml.Linq.XElement
return UnifiedSet

CreateAssignmentExpression() public static method

public static CreateAssignmentExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateAssignmentOperator() public static method

public static CreateAssignmentOperator ( System.Xml.Linq.XElement node ) : UnifiedBinaryOperator
node System.Xml.Linq.XElement
return UnifiedBinaryOperator

CreateCastExpression() public static method

public static CreateCastExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateCharacterLiteral() public static method

public static CreateCharacterLiteral ( System.Xml.Linq.XElement node ) : UnifiedLiteral
node System.Xml.Linq.XElement
return UnifiedLiteral

CreateCompoundStatement() public static method

public static CreateCompoundStatement ( System.Xml.Linq.XElement node ) : UnifiedBlock
node System.Xml.Linq.XElement
return UnifiedBlock

CreateConditionalExpression() public static method

public static CreateConditionalExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateConstant() public static method

public static CreateConstant ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateConstantExpression() public static method

public static CreateConstantExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateDecimalLiteral() public static method

public static CreateDecimalLiteral ( System.Xml.Linq.XElement node ) : UnifiedIntegerLiteral
node System.Xml.Linq.XElement
return UnifiedIntegerLiteral

CreateDeclaration() public static method

public static CreateDeclaration ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateDeclarationSpecifiers() public static method

public static CreateDeclarationSpecifiers ( System.Xml.Linq.XElement node ) : UnifiedExpression>.Tuple
node System.Xml.Linq.XElement
return UnifiedExpression>.Tuple

CreateDeclarator() public static method

public static CreateDeclarator ( System.Xml.Linq.XElement node ) : UnifiedSet>.Tuple
node System.Xml.Linq.XElement
return UnifiedSet>.Tuple

CreateDeclaratorSuffix() public static method

public static CreateDeclaratorSuffix ( System.Xml.Linq.XElement node ) : UnifiedSet
node System.Xml.Linq.XElement
return UnifiedSet

CreateDirectAbstractDeclarator() public static method

public static CreateDirectAbstractDeclarator ( System.Xml.Linq.XElement node ) : UnifiedElement
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedElement

CreateDirectDeclarator() public static method

public static CreateDirectDeclarator ( System.Xml.Linq.XElement node ) : UnifiedSet>.Tuple
node System.Xml.Linq.XElement
return UnifiedSet>.Tuple

CreateEnumSpecifier() public static method

public static CreateEnumSpecifier ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateEnumerator() public static method

public static CreateEnumerator ( System.Xml.Linq.XElement node ) : UnifiedVariableDefinition
node System.Xml.Linq.XElement
return UnifiedVariableDefinition

CreateEnumeratorList() public static method

public static CreateEnumeratorList ( System.Xml.Linq.XElement node ) : UnifiedBlock
node System.Xml.Linq.XElement
return UnifiedBlock

CreateEqualityExpression() public static method

public static CreateEqualityExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateExclusiveOrExpression() public static method

public static CreateExclusiveOrExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateExpression() public static method

public static CreateExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateExpressionStatement() public static method

public static CreateExpressionStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateExternalDeclaration() public static method

public static CreateExternalDeclaration ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateFloatingPointLiteral() public static method

public static CreateFloatingPointLiteral ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateFunctionDefinition() public static method

public static CreateFunctionDefinition ( System.Xml.Linq.XElement node ) : UnifiedFunctionDefinition
node System.Xml.Linq.XElement
return UnifiedFunctionDefinition

CreateHexLiteral() public static method

public static CreateHexLiteral ( System.Xml.Linq.XElement node ) : UnifiedIntegerLiteral
node System.Xml.Linq.XElement
return UnifiedIntegerLiteral

CreateIdentifierList() public static method

public static CreateIdentifierList ( System.Xml.Linq.XElement node ) : IEnumerable
node System.Xml.Linq.XElement
return IEnumerable

CreateInclusiveOrExpression() public static method

public static CreateInclusiveOrExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateInitDeclarator() public static method

public static CreateInitDeclarator ( System.Xml.Linq.XElement node ) : UnifiedExpression>.Tuple
node System.Xml.Linq.XElement
return UnifiedExpression>.Tuple

CreateInitDeclaratorList() public static method

public static CreateInitDeclaratorList ( System.Xml.Linq.XElement node ) : UnifiedExpression>>.IEnumerable
node System.Xml.Linq.XElement
return UnifiedExpression>>.IEnumerable

CreateInitializer() public static method

public static CreateInitializer ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateInitializerList() public static method

public static CreateInitializerList ( System.Xml.Linq.XElement node ) : IEnumerable
node System.Xml.Linq.XElement
return IEnumerable

CreateIterationStatement() public static method

public static CreateIterationStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateJumpStatement() public static method

public static CreateJumpStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateLogicalAndExpression() public static method

public static CreateLogicalAndExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateLogicalOrExpression() public static method

public static CreateLogicalOrExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateLvalue() public static method

public static CreateLvalue ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateMultiplicativeExpression() public static method

public static CreateMultiplicativeExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateOctalLiteral() public static method

public static CreateOctalLiteral ( System.Xml.Linq.XElement node ) : UnifiedIntegerLiteral
node System.Xml.Linq.XElement
return UnifiedIntegerLiteral

CreateParameterDeclaration() public static method

public static CreateParameterDeclaration ( System.Xml.Linq.XElement node ) : UnifiedParameter
node System.Xml.Linq.XElement
return UnifiedParameter

CreateParameterList() public static method

public static CreateParameterList ( System.Xml.Linq.XElement node ) : UnifiedSet
node System.Xml.Linq.XElement
return UnifiedSet

CreateParameterTypeList() public static method

public static CreateParameterTypeList ( System.Xml.Linq.XElement node ) : UnifiedSet
node System.Xml.Linq.XElement
return UnifiedSet

CreatePointer() public static method

public static CreatePointer ( System.Xml.Linq.XElement node ) : UnifiedElement
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedElement

CreatePostfixExpression() public static method

public static CreatePostfixExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreatePrimaryExpression() public static method

public static CreatePrimaryExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateRelationalExpression() public static method

public static CreateRelationalExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateSelectionStatement() public static method

public static CreateSelectionStatement ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateShiftExpression() public static method

public static CreateShiftExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateSpecifierQualifierList() public static method

public static CreateSpecifierQualifierList ( System.Xml.Linq.XElement node ) : UnifiedType>.Tuple
node System.Xml.Linq.XElement
return UnifiedType>.Tuple

CreateStatement() public static method

public static CreateStatement ( System.Xml.Linq.XElement node ) : IEnumerable
node System.Xml.Linq.XElement
return IEnumerable

CreateStatementList() public static method

public static CreateStatementList ( System.Xml.Linq.XElement node ) : IEnumerable
node System.Xml.Linq.XElement
return IEnumerable

CreateStorageClassSpecifier() public static method

public static CreateStorageClassSpecifier ( System.Xml.Linq.XElement node ) : UnifiedModifier
node System.Xml.Linq.XElement
return UnifiedModifier

CreateStringLiteral() public static method

public static CreateStringLiteral ( System.Xml.Linq.XElement node ) : UnifiedLiteral
node System.Xml.Linq.XElement
return UnifiedLiteral

CreateStructDeclaration() public static method

public static CreateStructDeclaration ( System.Xml.Linq.XElement node ) : UnifiedVariableDefinitionList
node System.Xml.Linq.XElement
return UnifiedVariableDefinitionList

CreateStructDeclarationList() public static method

public static CreateStructDeclarationList ( System.Xml.Linq.XElement node ) : UnifiedBlock
node System.Xml.Linq.XElement
return UnifiedBlock

CreateStructDeclarator() public static method

public static CreateStructDeclarator ( System.Xml.Linq.XElement node ) : UnifiedExpression>.Tuple
node System.Xml.Linq.XElement
return UnifiedExpression>.Tuple

CreateStructDeclaratorList() public static method

public static CreateStructDeclaratorList ( System.Xml.Linq.XElement node ) : UnifiedExpression>>.IEnumerable
node System.Xml.Linq.XElement
return UnifiedExpression>>.IEnumerable

CreateStructOrUnion() public static method

public static CreateStructOrUnion ( System.Xml.Linq.XElement node ) : string
node System.Xml.Linq.XElement
return string

CreateStructOrUnionSpecifier() public static method

public static CreateStructOrUnionSpecifier ( System.Xml.Linq.XElement node ) : UnifiedType
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedType

CreateTranslationUnit() public static method

public static CreateTranslationUnit ( System.Xml.Linq.XElement node ) : UnifiedProgram
node System.Xml.Linq.XElement
return UnifiedProgram

CreateTypeId() public static method

public static CreateTypeId ( System.Xml.Linq.XElement node ) : UnifiedType
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedType

CreateTypeName() public static method

public static CreateTypeName ( System.Xml.Linq.XElement node ) : UnifiedType
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedType

CreateTypeQualifier() public static method

public static CreateTypeQualifier ( System.Xml.Linq.XElement node ) : UnifiedModifier
node System.Xml.Linq.XElement
return UnifiedModifier

CreateTypeSpecifier() public static method

public static CreateTypeSpecifier ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateUnaryExpression() public static method

public static CreateUnaryExpression ( System.Xml.Linq.XElement node ) : UnifiedExpression
node System.Xml.Linq.XElement
return UnifiedExpression

CreateUnaryOperator() public static method

public static CreateUnaryOperator ( System.Xml.Linq.XElement node ) : UnifiedElement
node System.Xml.Linq.XElement
return Unicoen.Model.UnifiedElement

Property Details

Sign2BinaryOperator public_oe static_oe property

public static Dictionary Sign2BinaryOperator
return UnifiedBinaryOperator>.Dictionary

Sign2PrefixUnaryOperator public_oe static_oe property

public static Dictionary Sign2PrefixUnaryOperator
return UnifiedUnaryOperator>.Dictionary