diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-14 04:32:13 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-14 04:32:13 +0000 |
commit | ae4d173a80118151d2d15b4a8efda7e7be07b6dd (patch) | |
tree | a9da23ac1bbe8097418dc8053805eba5ec18c1ea /BaseTools/Source/Python/Eot/CodeFragment.py | |
parent | 12e266f8208844a19623d30228d1584f9af29a25 (diff) | |
download | edk2-ae4d173a80118151d2d15b4a8efda7e7be07b6dd.tar.gz |
Delete old BaseTool from UDK2010 branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11541 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Eot/CodeFragment.py')
-rw-r--r-- | BaseTools/Source/Python/Eot/CodeFragment.py | 185 |
1 files changed, 0 insertions, 185 deletions
diff --git a/BaseTools/Source/Python/Eot/CodeFragment.py b/BaseTools/Source/Python/Eot/CodeFragment.py deleted file mode 100644 index db5f40a6a4..0000000000 --- a/BaseTools/Source/Python/Eot/CodeFragment.py +++ /dev/null @@ -1,185 +0,0 @@ -## @file
-# fragments of source file
-#
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
-#
-# This program and the accompanying materials
-# are licensed and made available under the terms and conditions of the BSD License
-# which accompanies this distribution. The full text of the license may be found at
-# http://opensource.org/licenses/bsd-license.php
-#
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-#
-
-
-## The description of comment contents and start & end position
-#
-#
-class Comment :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- # @param CommentType The type of comment (T_COMMENT_TWO_SLASH or T_COMMENT_SLASH_STAR).
- #
- def __init__(self, Str, Begin, End, CommentType):
- self.Content = Str
- self.StartPos = Begin
- self.EndPos = End
- self.Type = CommentType
-
-## The description of preprocess directives and start & end position
-#
-#
-class PP_Directive :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, Str, Begin, End):
- self.Content = Str
- self.StartPos = Begin
- self.EndPos = End
-
-## The description of assignment expression and start & end position
-#
-#
-class AssignmentExpression :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, Lvalue, Op, Exp, Begin, End):
- self.Name = Lvalue
- self.Operator = Op
- self.Value = Exp
- self.StartPos = Begin
- self.EndPos = End
-
-## The description of predicate expression and start & end position
-#
-#
-class PredicateExpression :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, Str, Begin, End):
- self.Content = Str
- self.StartPos = Begin
- self.EndPos = End
-
-## The description of function definition and start & end position
-#
-#
-class FunctionDefinition :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- # @param LBPos The left brace position tuple.
- #
- def __init__(self, ModifierStr, DeclStr, Begin, End, LBPos, NamePos):
- self.Modifier = ModifierStr
- self.Declarator = DeclStr
- self.StartPos = Begin
- self.EndPos = End
- self.LeftBracePos = LBPos
- self.NamePos = NamePos
-
-## The description of variable declaration and start & end position
-#
-#
-class VariableDeclaration :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, ModifierStr, DeclStr, Begin, End):
- self.Modifier = ModifierStr
- self.Declarator = DeclStr
- self.StartPos = Begin
- self.EndPos = End
-
-## The description of enum definition and start & end position
-#
-#
-class EnumerationDefinition :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, Str, Begin, End):
- self.Content = Str
- self.StartPos = Begin
- self.EndPos = End
-
-## The description of struct/union definition and start & end position
-#
-#
-class StructUnionDefinition :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, Str, Begin, End):
- self.Content = Str
- self.StartPos = Begin
- self.EndPos = End
-
-## The description of 'Typedef' definition and start & end position
-#
-#
-class TypedefDefinition :
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, FromStr, ToStr, Begin, End):
- self.FromType = FromStr
- self.ToType = ToStr
- self.StartPos = Begin
- self.EndPos = End
-
-## The description of function calling definition and start & end position
-#
-#
-class FunctionCalling:
- ## The constructor
- #
- # @param self The object pointer
- # @param Str The message to record
- # @param Begin The start position tuple.
- # @param End The end position tuple.
- #
- def __init__(self, Name, Param, Begin, End):
- self.FuncName = Name
- self.ParamList = Param
- self.StartPos = Begin
- self.EndPos = End
|