eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::Tag':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Tag (in Tools)


Inheritance:

   Object
   |
   +--Tools::Tag
      |
      +--Tools::Tag::TCaseLabel
      |
      +--Tools::Tag::TClass
      |
      +--Tools::Tag::TDocumentation
      |
      +--Tools::Tag::TElement
      |
      +--Tools::Tag::TEnum
      |
      +--Tools::Tag::TEnumMember
      |
      +--Tools::Tag::TField
      |
      +--Tools::Tag::TFunction
      |
      +--Tools::Tag::TInterface
      |
      +--Tools::Tag::TLabel
      |
      +--Tools::Tag::TLispConstant
      |
      +--Tools::Tag::TLispEval
      |
      +--Tools::Tag::TLispMacro
      |
      +--Tools::Tag::TMacro
      |
      +--Tools::Tag::TMakeRule
      |
      +--Tools::Tag::TMakeTarget
      |
      +--Tools::Tag::TMember
      |
      +--Tools::Tag::TMethod
      |
      +--Tools::Tag::TPackage
      |
      +--Tools::Tag::TPrologClause
      |
      +--Tools::Tag::TStruct
      |
      +--Tools::Tag::TTypedef
      |
      +--Tools::Tag::TUnion
      |
      +--Tools::Tag::TVariable

Package:
stx:libtool
Category:
Interface-Tools-File-Tags
Version:
rev: 1.15 date: 2015/07/31 16:22:55
user: cg
file: Tools__Tag.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


keeps the info for a single tag (for the fileBrowser, for example);
either read from an external tool (ctags) or generated internally


Class protocol:

accessing
o  typeIdentifier

instance creation
o  label: aLabel pattern: aPattern

o  label: aLabel pattern: aPattern type: tagTypeString

o  label: aLabel pattern: aPattern type: tagTypeString lineNumber: aLineNumer

o  label: aLabel pattern: aPattern type: tagTypeString lineNumber: aLineNumer className: cName


Instance protocol:

accessing
o  fileName
returns the fileName (project tags only)

o  fileName: aFilename
set the fileName (project tags only)

o  label

o  lineNumber
returns the lineNumber computed at beginning

o  lineNumber: aNumber
set the lineNumber computed at beginning

o  pattern
returns the pattern string, used to detect the line into a
contents

o  typeIdentifierInList

o  typeString

instance creation
o  label: aLabel pattern: aPattern lineNumber: aLineNumer className: cName

list interface
o  explainString

o  printString
returns the label used in a list

o  printStringWithoutClass
returns a short label (used in a list when all labels are for the same class)

o  shortInfoString
pathName

queries
o  widthOn: aGC

tag searching
o  lineNumberIn: someText
(pat endsWith:'/;"') ifTrue:[

testing
o  isClassTag
return true, if this is a java class tag

o  isDocumentationTag
return true, if this is a doc tag

o  isEnumMemberTag

o  isEnumTag

o  isFieldTag
return true, if this is a java field tag

o  isFunctionOrMethodTag
return true, if this is a function or a method tag

o  isFunctionTag
return true, if this is a function tag

o  isInterfaceTag
return true, if this is a java interface tag

o  isLabelTag
return true, if this is a label tag

o  isLispConstantTag
return true, if this is a lisp constant tag

o  isLispEvalTag
return true, if this is a lisp eval tag

o  isLispMacroTag
return true, if this is a lisp macro tag

o  isMacroTag
return true, if this is a define macro tag

o  isMakeTargetTag
return true, if this is a make-target tag

o  isMemberTag
return true, if this is a struct/union member tag

o  isMethodTag
return true, if this is a java method tag

o  isPackageTag
return true, if this is a java package tag

o  isPrologClause
return true, if this is a prolog clause tag

o  isStructOrUnionTag
return true, if this is a union tag

o  isStructTag
return true, if this is a struct tag

o  isTypeTag
return true, if this is any type tag (typedef, struct, union, enum, ...)

o  isTypedefTag
return true, if this is a typedef tag

o  isUnionTag
return true, if this is a union tag

o  isVariableTag
return true, if this is a variable tag


Private classes:

    TAnchorElement
    TCaseLabel
    TClass
    TDocumentation
    TElement
    TEnum
    TEnumMember
    TField
    TFormElement
    TFunction
    THeaderElement
    TInterface
    TLabel
    TLispConstant
    TLispEval
    TLispMacro
    TMacro
    TMakeRule
    TMakeTarget
    TMember
    TMethod
    TPackage
    TPrologClause
    TStruct
    TTypedef
    TUnion
    TVariable


ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 04 Aug 2025 11:48:42 GMT