Метод | Описание | |
---|---|---|
DoParseElements ( ) : List |
Parses elements from the current point in the stream.
|
Метод | Описание | |
---|---|---|
CaptureTypeName ( ) : string |
Captures a type name alias from the stream.
|
|
CaptureTypeName ( bool captureGeneric ) : string |
Captures a type name alias from the stream.
|
|
CaptureWord ( ) : string |
Captures an alias or keyword from the stream.
|
|
CaptureWord ( bool captureGeneric ) : string |
Captures an alias or keyword from the stream.
|
|
EatTrailingEndOfStatement ( ) : void |
Eats a trailing end of statement.
|
|
GetAccess ( |
Gets the member or type access.
|
|
GetElementType ( |
Gets the type of the element.
|
|
GetMemberAttributes ( |
Gets a member modifiers flags enum from the modifer word list.
|
|
GetMemberNameAndType ( |
Extracts a member name.
|
|
GetOperatorType ( |
Gets the operator type from the modifier list.
|
|
IsAliasBreak ( char ch ) : bool |
Determines whether or not the specified char is a C# special character that signals a break in an alias.
|
|
ParseAliasList ( bool canBeInOrOutModified = false ) : string[] |
Parses an alias list, such as for parameters.
|
|
ParseAttribute ( ReadOnlyCollection |
Parses an attribute.
|
|
ParseAttribute ( ReadOnlyCollection |
Parses an attribute.
|
|
ParseBlock ( bool beginExpected, |
Parses a member block.
|
|
ParseCommentBlock ( ) : |
Parses a comment block.
|
|
ParseCommentLine ( ) : |
Parses a comment line.
|
|
ParseComments ( ) : ReadOnlyCollection |
Parses comments from the current position in the reader.
|
|
ParseConditionDirective ( string line, bool &isIf ) : |
Parses a condition directive.
|
|
ParseConstructor ( string memberName, CodeAccess access, MemberModifiers memberAttributes ) : |
Parses a constructor.
|
|
ParseDelegate ( string memberName, CodeAccess access, MemberModifiers memberAttributes, string returnType ) : |
Parses a delegate.
|
|
ParseElements ( ICodeElement parentElement ) : List |
Parses a collection of elements.
|
|
ParseEvent ( CodeAccess access, MemberModifiers memberAttributes ) : |
Parses an event.
|
|
ParseField ( bool isAssignment, CodeAccess access, MemberModifiers memberAttributes, string memberName, string returnType, bool isVolatile, bool isFixed ) : |
Parses a field.
|
|
ParseInitialValue ( ) : string |
Parses an initial value, such as for a field.
|
|
ParseMethod ( string memberName, CodeAccess access, MemberModifiers memberAttributes, string returnType, bool isOperator, OperatorType operatorType ) : |
Parses a method.
|
|
ParseNamespace ( ) : |
Parses a namespace definition.
|
|
ParseNestedText ( char beginChar, char endChar, bool beginExpected, bool trim, int initialDepth = 1, bool countBeginCharOnlyOnce = false ) : string |
Parses nested text.
|
|
ParseOptionalExpression ( char assignmentSymbols ) : string |
C# 6.0 feature. Will parse one statement after the expected assignmentSymbols
|
|
ParseParameters ( ) : string |
Parses a parameter list.
|
|
ParseProperty ( string memberName, string returnType, CodeAccess access, MemberModifiers memberAttributes, bool isExpressionBodyProperty ) : |
Parses a property.
|
|
ParseRegion ( string line ) : |
Parses a region from the preprocessor line.
|
|
ParseType ( CodeAccess access, TypeModifiers typeAttributes, TypeElementType elementType ) : |
Parses a type definition.
|
|
ParseTypeParameterConstraints ( IGenericElement genericElement ) : void |
Parses type parameter constraints and adds them to the generic element.
|
|
ParseUsing ( ) : |
Parses a using directive code element.
|
|
PushComments ( List |
Pushes the comments to the code elements collection.
|
|
TrimTrailingWhiteSpace ( StringBuilder elementBuilder ) : void |
Trims the trailing white space.
|
|
TryFindAndRemoveWord ( |
Tries to find and remove a word from the word list.
|
|
TryParseElement ( ICodeElement parentElement, StringBuilder elementBuilder, ReadOnlyCollection |
Tries to parse a code element.
|