コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.Variable"/> class.
 /// </summary>
 public Variable(StringPrimitive identifier)
 {
     m_Identifier = identifier;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.CallExpression"/> class.
 /// </summary>
 public CallExpression(StringPrimitive builtin, ArgumentsList arguments)
 {
     m_Builtin   = builtin;
     m_Arguments = arguments;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.MemberExpression"/> class.
 /// </summary>
 public MemberExpression(StringPrimitive identifier, StringPrimitive keyword)
 {
     m_Identifier = identifier;
     m_Keyword    = keyword;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.KeywordArgument"/> class.
 /// </summary>
 public KeywordArgument(StringPrimitive identifier, Pattern quotedPattern)
 {
     m_Identifier    = identifier;
     m_QuotedPattern = quotedPattern;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.Attribute"/> class.
 /// </summary>
 public Attribute(StringPrimitive identifier, StringPrimitive keyword)
 {
     m_Identifier = identifier;
     m_Keyword    = keyword;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.Reference"/> class.
 /// </summary>
 public Reference(StringPrimitive identifier)
 {
     m_Identifier = identifier;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.Message"/> class.
 /// </summary>
 public Message(StringPrimitive identifier, Pattern pattern, MemberList memberList)
 {
     m_Identifier = identifier;
     m_Pattern    = pattern;
     m_MemberList = memberList;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="L20n.FTL.AST.Section"/> class.
 /// </summary>
 public Section(StringPrimitive keyword)
 {
     m_Keyword = keyword;
 }