Esempio n. 1
0
        private Phrase CreatePhrase(FileSpan span)
        {
            Phrase phrase;

            if (string.IsNullOrEmpty(span.Content))
            {
                phrase      = new Phrase();
                phrase.Font = this.GetFont(span.FontName, span.FontSize, span.Color, span.FontStyle);
            }
            else
            {
                phrase = new Phrase(span.Content, this.GetFont(span.FontName, span.FontSize, span.Color, span.FontStyle));
            }
            this.SetPropertyFloat(span.Height, (height) => { phrase.Leading = height; });
            return(phrase);
        }
Esempio n. 2
0
 internal MemberProperty(string name, FileSpan loc, ISyntaxEntity parent, CodeFile currentCodeFile)
     : base(name, loc, parent, currentCodeFile)
 {
 }
Esempio n. 3
0
 public InheritableUserDefinedType(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile) : base(text, fileSpan, parent, currentCodeFile)
 {
     m_baseClasses = new List <string>();
 }
Esempio n. 4
0
 public EnumDefinition(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile) : base(text, fileSpan, parent, currentCodeFile)
 {
     m_enumMembers = new List <string>();
 }
Esempio n. 5
0
 public ElseBlock(string typeName, FileSpan fileLocation, ISyntaxEntity parent, CodeFile currentCodeFile)
     : base(typeName, fileLocation, parent, currentCodeFile)
 {
 }
Esempio n. 6
0
 public ClassDefinition(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile) : base(text, fileSpan, parent, currentCodeFile)
 {
 }
Esempio n. 7
0
 public Comment(string text, FileSpan span, ISyntaxEntity belongsTo, CodeFile currentCodeFile)
     : base(text, span, belongsTo, currentCodeFile)
 {
 }
Esempio n. 8
0
 public NamespaceDefinition(string typeName, FileSpan fileLocation, ISyntaxEntity parent, CodeFile currentCodeFile)
     : base(typeName, fileLocation, parent, currentCodeFile)
 {
 }
Esempio n. 9
0
 protected Variable(string name, FileSpan location, ISyntaxEntity parent, CodeFile currentCodeFile)
     : base(name, location, parent, currentCodeFile)
 {
 }
Esempio n. 10
0
 public UserDefinedType(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile)
     : base(text, fileSpan, parent, currentCodeFile)
 {
 }